【问题标题】:Angularfire2 v5 & Ionic 3 How to create Core Module?Angularfire2 v5 & Ionic 3 如何创建核心模块?
【发布时间】:2018-04-11 19:44:18
【问题描述】:

我正在尝试实现这一点:https://angularfirebase.com/lessons/google-user-auth-with-firestore-custom-data/#Generate-a-Core-Module-Optional

我的 Ionic 3 项目。

像他们在 Angular5 教程中所做的那样,实现代码模块概念的“离子”方式是什么? 尝试运行代码时

ng g module core

我收到错误:

Unable to find any apps in `.angular-cli.json`.

谢谢

【问题讨论】:

    标签: angular firebase-authentication ionic3 angularfire


    【解决方案1】:

    只需转到您创建 ionic 应用程序的文件夹并运行 ionic g page core,ionic 将为该 Core 页面生成一个模块。

    此时 ionic 不提供generate module 命令。但是使用generate page 会创建一个module

    Here you have the list of commands

    【讨论】:

      猜你喜欢
      • 2018-02-01
      • 1970-01-01
      • 2019-07-16
      • 1970-01-01
      • 2019-09-20
      • 1970-01-01
      • 2019-11-02
      • 2019-05-06
      • 1970-01-01
      相关资源
      最近更新 更多