Skip to content

Commit fc7e1bd

Browse files
committed
5.0.3
1 parent 5adf805 commit fc7e1bd

File tree

4 files changed

+38
-4
lines changed

4 files changed

+38
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@
157157
},
158158
"minimum-stability": "dev",
159159
"prefer-stable": true,
160-
"version": "5.0.2"
160+
"version": "5.0.3"
161161
}

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"/app.js": "/app.js?id=60363c925615c6efed182a41d9edc5e6",
2+
"/app.js": "/app.js?id=a75362e57e85a4a9c72bde9b0d67b03d",
33
"/ui.js": "/ui.js?id=211c185d3f583726e3ec9435b2af5c14",
44
"/manifest.js": "/manifest.js?id=3267e5c99fd7b729e2f38ec55b50397d",
55
"/app.css": "/app.css?id=e341c48ad9eb0412da7d42daea375e57",

resources/js/nova.js

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@ export default class Nova {
110110
},
111111
}
112112
}
113+
114+
/** @private */
115+
this.__started = false
116+
117+
/** @private */
118+
this.__booted = false
119+
120+
/** @private */
121+
this.__deployed = false
113122
}
114123

115124
/**
@@ -131,6 +140,8 @@ export default class Nova {
131140

132141
this.bootingCallbacks.forEach(callback => callback(this.app, this.store))
133142
this.bootingCallbacks = []
143+
144+
this.__booted = true
134145
}
135146

136147
/**
@@ -163,8 +174,11 @@ export default class Nova {
163174
return page
164175
},
165176
setup: ({ el, App, props, plugin }) => {
177+
this.debug('engine start')
178+
166179
/** @protected */
167180
this.mountTo = el
181+
168182
/**
169183
* @protected
170184
* @type VueApp
@@ -185,6 +199,12 @@ export default class Nova {
185199
},
186200
},
187201
})
202+
203+
this.debug('engine ready')
204+
205+
this.__started = true
206+
207+
this.deploy()
188208
},
189209
})
190210
}
@@ -216,7 +236,9 @@ export default class Nova {
216236
attributeFilter: ['class'],
217237
})
218238

219-
this.boot()
239+
if (!this.__booted) {
240+
this.boot()
241+
}
220242

221243
if (this.config('notificationCenterEnabled')) {
222244
/** @private */
@@ -227,6 +249,16 @@ export default class Nova {
227249
}, this.config('notificationPollingInterval'))
228250
}
229251

252+
this.deploy()
253+
}
254+
255+
deploy() {
256+
if (!this.__started || !this.__booted || this.__deployed) {
257+
return
258+
}
259+
260+
this.debug('engage thrusters')
261+
230262
this.registerStoreModules()
231263

232264
this.app.mixin(Localization)
@@ -263,6 +295,8 @@ export default class Nova {
263295
this.applyTheme()
264296

265297
this.log('All systems go...')
298+
299+
this.__deployed = true
266300
}
267301

268302
/**

0 commit comments

Comments
 (0)