# pug-plain-loader A loader that simply compiles pug templates into HTML. ## Installation Note `pug` is a peer dependency, so make sure to install both: ``` sh npm install -D pug-plain-loader pug ``` ## Usage This loader is mostly intended to be used alongside `vue-loader` v15+, since it now requires using webpack loaders to handle template preprocessors. There's also [`pug-html-loader`](https://github.com/willyelm/pug-html-loader) which unfortunately is out-of-date and not actively maintained. If you are only using this loader for templating in single-file Vue components, simply configure it with: ``` js { module: { rules: [ { test: /\.pug$/, loader: 'pug-plain-loader' } ] } } ``` This will apply this loader to all `