Commit cd22036a authored by Reza Sahebgharan's avatar Reza Sahebgharan

change mainjs

parent af6e9a71
...@@ -8,10 +8,12 @@ Vue.use(VueMeteorTracker); ...@@ -8,10 +8,12 @@ Vue.use(VueMeteorTracker);
import VueRouter from 'vue-router'; import VueRouter from 'vue-router';
Vue.use(VueRouter); Vue.use(VueRouter);
import routes from './plugins/routes'; let a = 0;
import routes from './plugins/routes';
const router = new VueRouter({ const router = new VueRouter({
mode: 'history', mode: 'history',
routes routes
}); });
import { store } from './store/store'; import { store } from './store/store';
...@@ -19,12 +21,12 @@ import { store } from './store/store'; ...@@ -19,12 +21,12 @@ import { store } from './store/store';
import i18n from './plugins/i18n'; import i18n from './plugins/i18n';
Meteor.startup(() => { Meteor.startup(() => {
new Vue({ new Vue({
i18n, i18n,
router, router,
vuetify, vuetify,
store, store,
el: "#app", el: "#app",
render: h => h(App) render: h => h(App)
}); });
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment