【问题标题】:In a Nativescript Angular app, where is application.start()/run()?在 Nativescript Angular 应用程序中,application.start()/run() 在哪里?
【发布时间】:2018-04-12 13:52:07
【问题描述】:

我正在查看 here 中列出的 Nativescript 4.0 更改,它说 application.start() 已被 application.run() 弃用。我已经下载了nativescript-template-ng-tutorial 并查看了所有文件,但我看不到application.start() 的调用位置。

这叫什么名字?

【问题讨论】:

  • @RandyCasburn 它肯定将它们列为变更日志中的方法
  • 是的 - 看到了。这就是我删除评论的原因。我发现它的唯一地方是 tests/main.js。

标签: javascript nativescript angular2-nativescript


【解决方案1】:

在 nativescript-angular 中调用

可能相关:https://github.com/NativeScript/nativescript-angular/issues/1274

【讨论】:

  • 在 nativescript-angular 的 platform-common.js 中找到它!
猜你喜欢
  • 2019-12-06
  • 2020-03-07
  • 1970-01-01
  • 2017-12-29
  • 1970-01-01
  • 1970-01-01
  • 2017-01-12
  • 1970-01-01
  • 2020-01-17
相关资源
最近更新 更多