vue-template-pug-remove-indent-loader
v0.1.3
Published
See [My PR for Vue](https://github.com/vuejs/vue-next/pull/3842).
Downloads
74
Readme
Why
See My PR for Vue.
Since I submitted this PR, no one has dealt with it for more than 3 months. I don't want to wait any longer and decide what to do on my own, so I have this library.
Use
In Webpack Config:
export default {
// ...
module: {
rules: [
{
test: /\.vue$/,
use: [
{
loader: 'vue-loader',
options: {
// ...
},
},
'vue-template-pug-remove-indent-loader'
]
},
// ...
]
}
}
In vue-cli(vue.config.js
) or other use webpack-chain
options:
chainWebpack(config) {
config.module.rule('vue').use('vue-template-pug-remove-indent-loader').loader('vue-template-pug-remove-indent-loader')
}