discord-client/webpack/main.js

28 lines
571 B
JavaScript
Raw Normal View History

2018-03-21 17:44:27 +00:00
/* (1) Imports
---------------------------------------------------------*/
/* (1) NPM libs */
import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './routes'
/* (2) Vues */
import wrapper from './vue/wrapper.vue'
/* (3) Data */
require('./common.js');
/* (2) Initialisation
---------------------------------------------------------*/
/* (1) Render view */
Vue.use(VueRouter);
new Vue({
el: '#vue',
router: gs.get.router,
render(h){ return h(wrapper); }
})
/* (2) Initialize channel_id guess */
gs.get.channel.nav();