-
Notifications
You must be signed in to change notification settings - Fork 12k
How can I use pug in @angular/cli #6085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
See comment: #1886 (comment) We currently do not support My suggestion? Don't use |
Closing as above. |
EDIT: Don't use this. My project is over and I'm not maintaing it.@baihech I made a pull request to allow tweaking webpack config with a file in the project root. For now, you can use the cli at https://github.com/cashfarm/angular-advanced-cli (branch 1.2.x) Install
Then your components can use pug
But your index has to stay in html. |
@delasteve , Can't see any problem with going back after ejecting. They always can restore |
@svallory , however you sacrifice aot |
Just in case someone came lurking here for answers. If you're using Angular CLI 6, you can now:
Got it from here. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I see that the loader is not loaded from .angular-cli.json
https://github.com/angular/angular-cli/blob/master/packages/%40angular/cli/models/webpack-configs/common.ts#L29
https://github.com/angular/angular-cli/blob/master/packages/%40angular/cli/models/webpack-configs/common.ts#L93
The text was updated successfully, but these errors were encountered: