ng-docs.github.io icon indicating copy to clipboard operation
ng-docs.github.io copied to clipboard

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

Open charlee2025 opened this issue 5 years ago • 3 comments

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

charlee2025 avatar Jul 06 '19 07:07 charlee2025

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

lichangfeng [email protected] 于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 .

asnowwolf avatar Jul 06 '19 14:07 asnowwolf

@asnowwolf 感谢感谢

charlee2025 avatar Jul 10 '19 12:07 charlee2025

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

StevieHao avatar Jan 03 '20 02:01 StevieHao