Angular-cli: Angular 2 project with cli 1.0

Created on 5 Apr 2017  路  3Comments  路  Source: angular/angular-cli

unable to find options to create Angular 2 project with Angular cli 1.0

RFC / discussion / question faq

Most helpful comment

'Angular 2' in the sense of Angular v2.* ? If you want to create a new project, you should probably use Angular v4. If you need to downgrade to v2 you could do it in the package.json manually but I don't think there is an option in the CLI for it.

All 3 comments

'Angular 2' in the sense of Angular v2.* ? If you want to create a new project, you should probably use Angular v4. If you need to downgrade to v2 you could do it in the package.json manually but I don't think there is an option in the CLI for it.

There isn't an option to start a new project preconfigured for Angular version 2.x, but you can just change it in the package.json as @AnianZ said.

This is the list of packages you need to change: https://github.com/angular/angular-cli/blob/master/tests/e2e/utils/project.ts#L83-L97

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings