dunhuang
Results
12
comments of
dunhuang
貌似新版本用不了 reactandroid方法都不一样了
建议作者提供可以运行版本的package-lock.json。 新版的mpvue-loader和mpvue-template-compiler,官方升级比较大。为适应官方升级,需要在config/index.js和build/webpack配置文件里增配fileExt以支持不同平台的小程序,同时也增配了process.env.PLATFORM变量。 另外,mpvue-loader现在不支持在main.js里写app.json的内容了,需在src下单独写一个app.json文件出来。 我也是刚开始研究mpvue开发小程序,fork了一个项目[ https://github.com/dunhuang/mpvue-shop]( https://github.com/dunhuang/mpvue-shop) ,仅供参考。