You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that there were a lot of discussions about the Pug and Scss official support. As I know the proper poor request was merged to a repo. Still we do not know how to configure angular-cli to generate .pug and .scss file. Can someone help me with it?
Reacted by Mikael Sundström, Alonso Mendez, Ezzat Chamudi, Dhruvan Ganesh, Andrey Solovyov, Konda Reddy Yaramala, Никита, Mx, Akos Tothmarton, Yatit Thakker and 1 more
Activity
Ionaru commentedon Nov 22, 2016
For Scss support, look here: https://github.com/angular/angular-cli#css-preprocessor-integration
kwojcik-blockether commentedon Nov 22, 2016
Thanks I found your link very helpful. What about Pug support?
Ionaru commentedon Nov 23, 2016
As far as I know Jade/Pug support is not currently being worked on by the Angular team, however another contributor has started to work this feature.
See PR #2205 and issue #1886
filipesilva commentedon Dec 22, 2016
As @Ionaru says, we do have scss support and jade support is being tracked in #1886.
paramsingh88 commentedon Jun 5, 2017
Please, we want Pug support
svallory commentedon Jul 28, 2017
@paramsingh88 @FieryCod 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
pug,pug-ng-html-loaderand add awebpack.config.jswith this to root of your project:Then your components can use pug
But your index has to stay in html.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.