blob: 362c26ae065546637f23fc8431aa238e57330d4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import Vue from 'vue';
import Vuex from 'vuex';
import store from './store';
import App from './components/app.vue';
Vue.use(Vuex);
export default initialData => {
const el = document.getElementById('js-code-navigation');
store.dispatch('setInitialData', initialData);
return new Vue({
el,
store,
render(h) {
return h(App);
},
});
};
|