Angular CLI Pug Loader
Angular CLI Schematic implementation to add
.pug file support for your Angular project.
At the root of your project, run
ng add ng-cli-pug-loader
That's it, your project now supports pug files:
Pug Includes Usage
Imagine you have
example.partial.pug for example.
//- apply-loader and pug-loader will be usedinclude mixins//- apply-loader and pug-loader will be usedinclude mixins.pug//- pug-loader only will be usedinclude example.partial.pug//- pug-loader only will be usedinclude example.include.pug
npm run test will run the unit tests, using Jasmine as a runner and test framework.