Issue
Anyone having luck adding .pug to angular-cli?
I tried to do npm install pug --save, but I don't know where to change the .pug rendering instead of .html.
Link for the angular-cli is here
Please share a short tutorial, that would help a lof of people :)
Solution
For Angular 6+ you can simply run ng add ng-cli-pug-loader command in the root folder to turn on pug support in your angilar-cli project.
Answered By - Anton Pegov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.