forked from PatrickJS/angular-webpack-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
How to add .pug support
Eliel Haouzi edited this page Jul 5, 2016
·
3 revisions
npm install pug pug-html-loader
module.exports = {
module: {
loaders: [
{ test: /\.pug$/, loader: 'pug-html-loader' }
]
}
}@Component({
selector: 'app',
template: require('./file.pug')
})enjoy — AngularClass
Learn AngularJS, Angular 2, and Modern Web Development from the best. Looking for corporate Angular training, want to host us, or Angular consulting? patrick@angularclass.com
