Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Personal modification Angluar CLI – Creating a new app

Hi Stackoverflow Community,

I have the following question / problem.

Is there a way to create an own (more individually) ng new script ?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

The standard command

ng new projectname

just allow me to create or not create routing, set scss or css.

When creating a new app, I want some specials (for example ask or automatic install bootstrap)

In other words, I want to make a more individual ng new command

>Solution :

Does the manual help you?

See: https://angular.io/cli/new

There you have a lot of options which you can set. For example –collection options which is very powerful.
With –collection you can pass a schematic.

A very good Schematic example you can find here:

https://developer.okta.com/blog/2019/02/13/angular-schematics

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading