【发布时间】:2018-04-11 19:44:18
【问题描述】:
我的 Ionic 3 项目。
像他们在 Angular5 教程中所做的那样,实现代码模块概念的“离子”方式是什么? 尝试运行代码时
ng g module core
我收到错误:
Unable to find any apps in `.angular-cli.json`.
谢谢
【问题讨论】:
标签: angular firebase-authentication ionic3 angularfire
我的 Ionic 3 项目。
像他们在 Angular5 教程中所做的那样,实现代码模块概念的“离子”方式是什么? 尝试运行代码时
ng g module core
我收到错误:
Unable to find any apps in `.angular-cli.json`.
谢谢
【问题讨论】:
标签: angular firebase-authentication ionic3 angularfire
只需转到您创建 ionic 应用程序的文件夹并运行 ionic g page core,ionic 将为该 Core 页面生成一个模块。
此时 ionic 不提供generate module 命令。但是使用generate page 会创建一个module。
【讨论】: