File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,14 @@ export function createInstance(
266
266
}
267
267
}
268
268
269
+ // provide any values passed via provides mounting option
270
+ if ( global . provide ) {
271
+ for ( const key of Reflect . ownKeys ( global . provide ) ) {
272
+ // @ts -ignore: https://github.com/microsoft/TypeScript/issues/1863
273
+ app . provide ( key , global . provide [ key ] )
274
+ }
275
+ }
276
+
269
277
// use and plugins from mounting options
270
278
if ( global . plugins ) {
271
279
for ( const plugin of global . plugins ) {
@@ -296,14 +304,6 @@ export function createInstance(
296
304
app . directive ( key , global . directives [ key ] )
297
305
}
298
306
299
- // provide any values passed via provides mounting option
300
- if ( global . provide ) {
301
- for ( const key of Reflect . ownKeys ( global . provide ) ) {
302
- // @ts -ignore: https://github.com/microsoft/TypeScript/issues/1863
303
- app . provide ( key , global . provide [ key ] )
304
- }
305
- }
306
-
307
307
// stubs
308
308
// even if we are using `mount`, we will still
309
309
// stub out Transition and Transition Group by default.
You can’t perform that action at this time.
0 commit comments