dcloudio / dcloudio/uni-preset-vue
vite-ts cli项目 运行H5开发环境使用hybrid目录无法找到路径
Open
- Dominant language
- JavaScript
- Stars
- 372
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
目录结构
```
src
┣ hybrid
┃ ┗ html
┃ ┗ local.html
┣ pages
┃ ┣ index
┃ ┃ ┗ index.vue
┃ ┗ webview
┃ ┣ index.vue
┃ ┗ local.vue
┣ static
┃ ┗ logo.png
┣ App.vue
┣ env.d.ts
┣ main.ts
┣ manifest.json
┣ pages.json
┗ uni.scss
```
local.vue
```vue
```
运行yarn dev:h5开发环境,访问/pages/webview/local控制台报错
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/hybrid/html/local.html
运行在app或者打包正式环境运行,一切可以正常显示
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.