摘要: Making your CSS modular is a difficult thing to do, but using Webpack makes this so much easier. By adding a single line to your Webpack config, you c... 阅读全文
posted @ 2015-09-08 19:40 Zhentiw 阅读(322) 评论(0) 推荐(0)
摘要: With Angular, most of the time you're specifying a templateUrl for your directives and states/routes. This means you need to make sure that you're loa... 阅读全文
posted @ 2015-09-08 17:43 Zhentiw 阅读(519) 评论(0) 推荐(0)
摘要: Install:npm install --save-dev babel-loaderwebpack.config.js:Add module, tell webpack to find all js file and use babel as loader, exclude all files i... 阅读全文
posted @ 2015-09-08 16:34 Zhentiw 阅读(377) 评论(0) 推荐(0)