@frontvue/plugin-pug
v1.0.0
Published
FrontVue plugin for Pug boilerplate template and processing
Downloads
23
Maintainers
Readme
Frontvue-Plugin-Pug
A Frontvue plugin for Pug boilerplate and processing
This plugin will be one of the available options to choose from when you configure a new project using Frontvue. It handles Pug files and comes with a boilerplate template of Pug partials. It comes with the following tasks:
- pug:config — registers a configuration questionnaire;
- pug:template — copies the Pug template;
- pug:clean — removes the build folder;
- pug:process — handles compiling of Pug partials;
- pug:watch — starts listeners for changes in Pug partials;
Default configuration
{
// Source files directory name
sourceDir: 'pug',
// Directory name where the HTML file(s) will be outputted
buildDir: 'html'
}