0.0.3 • Published 5 years ago

gridsome-plugin-pug v0.0.3

Weekly downloads
126
License
MIT
Repository
github
Last release
5 years ago

gridsome-plugin-pug

GitHub npm npm

Pug plugin for Gridsome.

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` */ }
			}
		}
	]
};