vue-template-pug-remove-indent-loader

0.1.3 • Public • Published

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')
}

Readme

Keywords

none

Package Sidebar

Install

npm i vue-template-pug-remove-indent-loader

Weekly Downloads

10

Version

0.1.3

License

MIT

Unpacked Size

3.99 kB

Total Files

4

Last publish

Collaborators

  • dev-itsheng