temp fix for now-unused resettable async component
This commit is contained in:
parent
b6e8c12dbc
commit
8a9115b58e
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
import Vue from 'vue'
|
// TODO investigate if even necessary since VUE3
|
||||||
|
import { reactive } from 'vue'
|
||||||
|
|
||||||
/* By default async components don't have any way to recover, if component is
|
/* By default async components don't have any way to recover, if component is
|
||||||
* failed, it is failed forever. This helper tries to remedy that by recreating
|
* failed, it is failed forever. This helper tries to remedy that by recreating
|
||||||
|
@ -13,7 +14,7 @@ function getResettableAsyncComponent (asyncComponent, options) {
|
||||||
...options
|
...options
|
||||||
})
|
})
|
||||||
|
|
||||||
const observe = Vue.observable({ c: asyncComponentFactory() })
|
const observe = reactive({ c: asyncComponentFactory() })
|
||||||
|
|
||||||
return {
|
return {
|
||||||
functional: true,
|
functional: true,
|
||||||
|
|
Loading…
Reference in a new issue