Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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