Is it possible to generate an empty workspace with Angular CLI v6? It may contain an initial app but within the default projects
folder.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With