gridsome-plugin-pug
v0.0.3
Published
Pug plugin for Gridsome.
Downloads
151
Maintainers
Readme
gridsome-plugin-pug
This plugin will add pug-plain-loader for using Pug in Vue single file component (
.vue
).
And add pug-loader for importing.pug
file directly.
Installation
npm install -D pug gridsome-plugin-pug
# or
yarn add -D pug gridsome-plugin-pug
Usage
module.exports = {
plugins: [
{
use: 'gridsome-plugin-pug',
options: {
pug: { /* Options for `pug-plain-loader` */ },
pugLoader: { /* Options for `pug-loader` */ }
}
}
]
};