1.0.0 • Published 6 years ago

@frontvue/plugin-pug v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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