6 Best Practices & Pro Tips when using Angular CLI

Tomas Trajan
10 min readOct 5, 2017
Future is now (📷 by Sébastien Jermer)

Disclaimer: Article is focused on Angular CLI version LESS THAN 6.0.0 which was released in April 2018, everything is pretty much still valid, the only thing that changed are default flags of prod build, please have a look at official Angular CLI ng build documentation.

Follow Release Butler, a twitter bot I created to help you stay up to date with releases of Angular CLI, Angular & many popular frontend libraries…

Developing Angular apps with Angular CLI is a very pleasurable experience! Angular team provided us with amazing CLI which supports most of the things which are needed for any serious project out of the box.

Standardized project structure with full testing capabilities (both unit and e2e testing), code scaffolding, production grade build with support for using environment specific configuration. That’s a dream come true and lots of saved hours on every new projects. Thank you Angular team! 💖

--

--

Tomas Trajan
Tomas Trajan

Written by Tomas Trajan

👋 I build, teach, write & speak about #Angular & #NgRx for enterprises 👨‍💻 Google Developer Expert #GDE 👨‍🏫 @AngularZurich meetup co-organizer

Responses (47)