src/main.js
@@ -30,7 +30,9 @@ let instance = null; function render(props = {}) { const { container } = props; const { container, onGlobalStateChange, setGlobalState } = props; Vue.prototype.onGlobalStateChange = onGlobalStateChange; Vue.prototype.setGlobalState = setGlobalState; instance = new Vue({ // router, store, @@ -72,4 +74,3 @@ // export async function update(props) { // render(props); // }