【问题标题】:Is there some samples of integration between Nativescript and new angular 2 router?Nativescript 和新的 angular 2 路由器之间是否有一些集成示例?
【发布时间】:2016-07-04 09:31:54
【问题描述】:

我最近更新了我的 nativescript + angular 2 项目。自此日期起,该项目无法再生成 app。

【问题讨论】:

    标签: mobile angular native nativescript


    【解决方案1】:

    有关最新的 RC3 和未来更新,您可以查看“nativescript-ui-samples-angular”存储库。

    它包含nativescript-telerik-ui 组件的示例,而且它是一个完整的 Angular 2 {N} 项目。这意味着导航等都是使用 Angular 2 机制实现的。您可以在“sdkAngular/app/navigation”中查看应用处理其导航的方式,您可以在其中找到列出所有可能路线的 app.routes.ts应用程序(使用当前的 Angular RC3 API),例如 Components 之一,它使用 ActivatedRoute 处理导航。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-15
      • 2016-04-04
      • 2016-09-09
      • 2018-03-08
      • 2017-05-19
      • 1970-01-01
      • 2017-04-11
      • 2017-05-14
      相关资源
      最近更新 更多