Skip to content

Commit 3d0beae

Browse files
committed
docs(readme): Pug (ex Jade) HTML template engine usage
1 parent 91b4fd9 commit 3d0beae

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ The generated project has dependencies that require
3838
* [Linting and formatting code](#linting-and-formatting-code)
3939
* [Support for offline applications](#support-for-offline-applications)
4040
* [Commands autocompletion](#commands-autocompletion)
41+
* [HTML template engine integration](#html-template-engine-integration)
4142
* [CSS preprocessor integration](#css-preprocessor-integration)
4243
* [3rd Party Library Installation](#3rd-party-library-installation)
4344
* [Updating angular-cli](#updating-angular-cli)
@@ -222,6 +223,12 @@ ng completion >> ~/.bash_profile
222223
source ~/.bash_profile
223224
```
224225

226+
### HTML Template Engine integration
227+
228+
We currently support `Pug` (ex `Jade`) HTML template engine.
229+
To use `Pug` install `npm install pug --save` in your project and rename `.html` template extensions to `.pug`. Templates will be compiled automatically.
230+
231+
If you already have `pug` installed globally the plugin will be instatinated automatically and the templates will be compiled to HTML.
225232

226233
### CSS Preprocessor integration
227234

lib/broccoli/angular-broccoli-pug.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
const requireOrNull = require('./require-or-null');
55
const Plugin = require('broccoli-caching-writer');
6-
const fs = require('fs');
76
const fse = require('fs-extra');
87
const path = require('path');
98
const Funnel = require('broccoli-funnel');

0 commit comments

Comments
 (0)