ng-docs / ng-docs.github.io

Angular 官方文档中文版预编译网站
https://angular.cn
Other
104 stars 22 forks source link

ng new 怎么创建老版本的angular啊 #100

Open charlee2025 opened 5 years ago

charlee2025 commented 5 years ago

ng new 没有看到有相关的option可用。想创建angular7或者angular6的版本,请问如何操作?

asnowwolf commented 5 years ago

没试过,你可以考虑安装老版本的 Angular CLI,然后再用它们创建项目。

lichangfeng notifications@github.com 于2019年7月6日周六 下午3:50写道:

ng new 没有看到有相关的option可用。想创建angular7或者angular6的版本,请问如何操作?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ng-docs/ng-docs.github.io/issues/100?email_source=notifications&email_token=AALBBZ64BYLKL5XNGT2VZKTP6BFGBA5CNFSM4H6S2SZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5UXLYQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AALBBZ26OMQK5LKCW5DB3V3P6BFGBANCNFSM4H6S2SZQ .

charlee2025 commented 5 years ago

@asnowwolf 感谢感谢

StevieHao commented 4 years ago

先npm install -g @angular/cli@7.2.0,此处7.2.0可替换为版本6或者版本7的某个具体版本号,然后就可以创建老版本项目了