diff options
Diffstat (limited to 'settings/src/main.js')
-rw-r--r-- | settings/src/main.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/settings/src/main.js b/settings/src/main.js new file mode 100644 index 00000000000..e09925a95de --- /dev/null +++ b/settings/src/main.js @@ -0,0 +1,22 @@ +import Vue from 'vue'; +import { sync } from 'vuex-router-sync'; +import App from './App.vue'; +import router from './router'; +import store from './store'; +require("babel-polyfill"); + + +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 };
\ No newline at end of file |