forked from PatrickJS/PatrickJS-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
How to include stylus support
Vadim edited this page Aug 31, 2016
·
1 revision
npm install --save-dev stylus stylus-loader
module.exports = {
module: {
loaders: [
{
test: /\.styl$/,
loaders: ['css-to-string', 'css?sourceMap', 'resolve-url', 'stylus']
},
]
}
}
@Component({
styleUrls: [
'./app.style.styl'
],
})
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? [email protected]