摘要:
direictives/index.js:module.exports = function(ngModule) { //register all the directives here require('./hello')(ngModule);};directives/hello.js... 阅读全文
posted @ 2015-04-13 03:20
Zhentiw
阅读(598)
评论(0)
推荐(0)
摘要:
1. Install webpack & angular:npm install webpack angular2. Create webpack.config.js file:module.exports = { context: __dirname + '/app', entry: ... 阅读全文
posted @ 2015-04-13 02:49
Zhentiw
阅读(1795)
评论(0)
推荐(0)