app.js
668 Bytes
import Vue from 'vue';
import Router from 'vue-router';
import App from './pages/app';
import Routers from './pages';
import yohoPluginCore from './plugins/yoho-plugin-core';
import yohoPluginPurview from './plugins/yoho-plugin-purview';
import yohoPluginUser from './plugins/yoho-plugin-user';
import './filters';
import './directives';
import 'iview/dist/styles/iview.css';
import 'common.scss';
import 'font-awesome/css/font-awesome.css';
let router = new Router({routes: Routers});
Vue.use(yohoPluginCore, {router});
Vue.use(yohoPluginPurview);
Vue.use(yohoPluginUser);
new Vue({
el: '#app',
router,
template: '<App/>',
components: {App}
});