app.js 458 Bytes
import Vue from 'vue';
import iView from 'iview';
import VueCookie from 'vue-cookie';
import Router from 'vue-router';
import App from './pages/app';
import Routers from './pages';
import './filters';
import './directives';
import 'iview/dist/styles/iview.css';
import 'common.scss';

Vue.use(Router);
Vue.use(iView);
Vue.use(VueCookie);

new Vue({
    el: '#app',
    router: new Router({routes: Routers}),
    template: '<App/>',
    components: {App}
});