Guilherme Ventura
Guilherme Ventura
I don't understand the problem 🤔 `index.pug` is not being parsed into HTML?
Please help me to understand the issue or I'll have to close it.
@chumaumenze oh, thanks, now I get it. I don't have the environment ready to test this, but will take a look as soon as possible. While it isn't fixed, I...
So by adding this loader to `node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/common.js` you are able to use both `.html` and `.pug` files concomitantly? Can you also use Pug imports? Could you share the exact version...
Before trying the `npm run postinstall` solution you should delete the `node_modules` folder. Try this, inside your project folder: `rm -rf node_modules && npm install` (`postinstall` will run automatically).
I didn't take a deeper look in this problem, sorry. Also not planning to do that really soon...
What do you mean by "Install ng-cli-pug-loader"? `npm install ng-cli-pug-loader` or `ng add ng-cli-pug-loader`?
I have not tested it in Angular 7. If someone else could report this I'd be more than happy!
I would be very happy to accept a PR! Apparently not even Angular 8 is supported by this version. Will have to check, can't compromise with time now. @m-przybylski: >...
Great finding @raykin, thanks for sharing! If I'm not mistaken, Angular CLI shows a warning when we're using a global installed `ng` instead of a local one - which means...