我正在尝试通过Angular 2 Mobile Toolkit(https://mobile.angular.io/)创建一个新的移动应用程序.
当我输入:时ng new hello-mobile --mobile,我收到此错误:
`The option '--mobile' is not registered with the new command.
Run 'ng new --help' for a list of supported options.
Run Code Online (Sandbox Code Playgroud)
在ng new --help我看不到任何东西mobile.
这是我的ng -v结果:
@angular/cli: 1.0.2
node: 6.10.1
os: win32 x64
Run Code Online (Sandbox Code Playgroud)
我错过了什么?这个工作只与其他一些角度版本?
angular-cli --mobile标志被移除,并且正在设计新的解决方案.
移动套件仓库中的自述文件在angular-cli生成的描述中不正确,而Angular-Cli不支持--mobile标志.
看到这个Github问题:
https://github.com/angular/mobile-toolkit/issues/138
https://github.com/angular/angular-cli/issues/2228
| 归档时间: |
|
| 查看次数: |
425 次 |
| 最近记录: |