Anton Moiseev
Anton Moiseev

Reputation: 2874

Generate empty workspace with Angular CLI v6

Is it possible to generate an empty workspace with Angular CLI v6? It may contain an initial app but within the default projects folder.

Upvotes: 7

Views: 1521

Answers (2)

tuxdost
tuxdost

Reputation: 143

BTW, with Angular 16, you need to use following command to create an empty workspace without an initial app:

ng new MyWorkspace --no-create-application

see angular doc on new commandhttps://angular.io/cli/new

Upvotes: 0

angularconsulting.au
angularconsulting.au

Reputation: 28309

Update: Angular 7

It is now possible to create an empty workspace with the following command:

ng new --createApplication false


Currently you can not but hopefully this feature will be availiable soon.

You can track related issue https://github.com/angular/angular-cli/issues/10709

Upvotes: 7

Related Questions