作者:这辈子1015 | 来源:互联网 | 2022-10-19 18:50
Is it possible to select Angular version when creating a new project? That is, I have installed globally Angular 8 , and I want to create a project on Angular 7. How can this be done without updating all the Angular modules in turn (example: npm i @angular/animations@7
, etc.)?
1> Adrita Sharm..:
You can create a new folder and install angular 7 in it.
npm install @angular/cli@7.0.0
Note: Do not use -g
(This is for global installation)
When you will create a new project in that folder with ng new
, the version of the app will be 7.