有没有人找到了用萨斯和帕格编译Angular ( >= 2版)的解决方案?
发布于 2017-02-19 07:12:33
在https://github.com/AngularClass/angular2-webpack-starter /webpack.common.js module.rules“{ test: /.(pug|jade)$/,https://github.com/AngularClass/angular2-webpack-starter:'pug-ng-html-loader‘}”加上我在.pug中添加了".pug“,在package.json devDependencies’"pug":"^2.0.0-beta11","pug-ng-html-loader":"^1.0.10“‘我可以使用"build:aot”和“.pug :dev:hmr”脚本
运行服务器文件
https://stackoverflow.com/questions/40262593
复制相似问题