aboutsummaryrefslogtreecommitdiffstats
path: root/settings/src/main.js
blob: a03fe1b16e174ba2ccc1768fea92624cdae1ee3f (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 { sync } from 'vuex-router-sync';
import App from './App.vue';
import router from './router';
import store from './store';

sync(store, router);

// bind to window
Vue.prototype.t = t;
Vue.prototype.OC = OC;
Vue.prototype.oc_userconfig = oc_userconfig;

const app = new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#content');

export { app, router, store };