You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Main from './Main.vue';
import store from './store';
const MainComponent = new Main().$options
MainComponent.store = store
Vue.customElement('my-app', MainComponent);
or similar usage usage should work fine. Feel free to comment if something is not working. Regards!
I was able to convert my app into custom component by using below code -
Here Main is component & Main has multiple nested child components.
but dont know where to add the store.
Here is the initiate code -
please let me know. THanks.
The text was updated successfully, but these errors were encountered: