Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 418
Anton Moiseev Avatar asked May 07 '18 15:05

Anton Moiseev


People also ask

How do I get rid of Angular DevKit architecture?

How do I uninstall Angular dev kit? If you still have the problem, please run npm i @angular-devkit/schematics , and after the update project, you can remove @angular-devkit/schematics from your package. json file, and then again delete node_modules folder and package-lock.

What is the command to create new project in Angular?

Use NPM command npm start to build an application. Internally, it uses ng serve command only. Open a browser and navigate to http://localhost:4200 to see the application home page. The http://localhost:4200 is the default URL of an Angular application created using Angular CLI.

What is DevKit in Angular?

DevKit was built to provide libraries that can be used to manage, develop, deploy, and analyze your code. DevKit has a schematics-cli command line tool that you can use to create your own Schematics.


1 Answers

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

like image 88
angularrocks.com Avatar answered Oct 05 '22 20:10

angularrocks.com