Fix passing provider to Vue
This commit is contained in:
parent
c72bf86a96
commit
ab9e1b5b99
@ -53,6 +53,11 @@ Component.registerHooks(['removed']);
|
||||
|
||||
const appRoot = document.getElementById('app');
|
||||
|
||||
store.replaceState({
|
||||
...store.state,
|
||||
provider: window['data']?.provider,
|
||||
});
|
||||
|
||||
// here goes "public" API
|
||||
window['app'] = Object.assign({
|
||||
state: {}
|
||||
|
Loading…
Reference in New Issue
Block a user