wepy2.1.0 src在src目录新建utils目录,加入js文件wpy文件等,npm run dev 后未编译至weapp utils目录下
dust27149 opened this issue · comments
Dust commented
Description
wepy2.1.0 src在src目录新建utils目录,加入js文件wpy文件等,npm run dev 后未编译至weapp utils目录下。
Environment
- Platform: [vsCode]
- Platform version: [1.52.1]
- wepy-cli version: [2.1.0]
- wepy version: [2.1.0]
Dust commented
原因为:未在页面中引用或使用 。
另外,图片等静态资源可放入static目录下。