happy-weapp模板
- 先进入happy-weapp-template目录下,进行
npm install
。 npm run dev
生成dist目录。- 打开微信调试工具,然后打开dist,就可以看到效果了。
- 开发完后
npm run build
进行代码压缩,编译等。
-
2018.04.03,版本1.0.0,内容包括:
-
1.模板的生成,项目的输出
-
2.使用happy-weapp-loader 进行.happy的文件进行类似vue文件一样的书写。
-
2018.04.03 版本1.0.1,内容包括:
-
1.自定义组件支持
-
2.修改demo
-
3.引入manage.js,以便以后对业务的扩展
-
4.分开development, production环境
-
5.增加happypack来进行线程池打包,优化打包速度