@frontvue/plugin-pug
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @frontvue/plugin-pug

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

67.2 kB

Total Files

38

Last publish

Collaborators

  • 0vidiu