创建分包页面
- 发布:2021-01-12 16:11
- 更新:2021-01-12 16:27
- 阅读:2108
【报Bug】uniapp创建分包页面无反应
sxw (作者) - 123
2021-01-12 16:25:11.970 [INFO:] dirInfo ========== "C:/Users/Administrator/Desktop/wxapp/tongxingzheng/pagesB"
2021-01-12 16:25:11.978 [INFO:] projectInfo ========== "C:/Users/Administrator/Desktop/wxapp/tongxingzheng/pagesB/cccc"
2021-01-12 16:25:11.992 [INFO:] dirInfo ========== "C:/Users/Administrator/Desktop/wxapp/tongxingzheng/pagesB"
2021-01-12 16:25:11.998 [INFO:] projectInfo ========== "C:/Users/Administrator/Desktop/wxapp/tongxingzheng/pagesB/cccc"
将pagesB放在src同级目录下可以创建成功
-
sxw (作者)
回复 DCloud_HB_WDL:
2021-01-12 17:17:53.601 [INFO:] dirInfo ========== "C:/Users/Administrator/Desktop/wxapp/my-project/src/pages"
2021-01-12 17:17:53.609 [INFO:] projectInfo ========== "C:/Users/Administrator/Desktop/wxapp/my-project/src/pages/ddd"
2021-01-12 17:17:53.621 [INFO:] dirInfo ========== "C:/Users/Administrator/Desktop/wxapp/my-project/src/pages"
2021-01-12 17:17:53.627 [INFO:] projectInfo ========== "C:/Users/Administrator/Desktop/wxapp/my-project/src/pages/ddd"
2021-01-12 17:17:53.637 [WARNING:] Create dir fail: "C:/Users/Administrator/Desktop/wxapp/my-project/pages/API/ddd"
这是命令行创建的hello-uniapp 创建分包页面的运行日志,也是无法创建。创建主包页面是可以的。2021-01-12 17:20
sxw (作者)
uniapp项目模板可以创建新页面,命令行创建的项目root路径填写‘src/pagesA’可以创建,但是编译会报错。
2021-01-12 16:58