We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b1dfb2 commit ccda251Copy full SHA for ccda251
platform/nativescript/runtime/index.js
@@ -39,15 +39,18 @@ Vue.prototype.$start = function () {
39
}
40
41
const mount = function (el, hydrating) {
42
- mountComponent(this, el, hydrating)
43
-
44
if (this.__is_root__) {
45
- let view = this.$el.nativeView
+ const self = this
46
start({
47
create() {
48
- return view
+ // Call mountComponent in the create callback when the IOS app loop has started
+ // https://github.com/rigor789/nativescript-vue/issues/24
+ mountComponent(self, el, hydrating)
49
+ return self.$el.nativeView;
50
51
})
52
+ } else {
53
+ mountComponent(this, el, hydrating)
54
55
56
0 commit comments