Skip to content

Frontvue plugin for Pug boilerplate template and processing

License

Notifications You must be signed in to change notification settings

0vidiu/frontvue-plugin-pug

Repository files navigation

Frontvue-Plugin-Pug

Build Status codecov Commitizen friendly semantic-release

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'
}