Blame view

src/main.js 988 Bytes
a0ea7efe   梁保满   init
1
2
3
4
5
6
7
8
9
10
11
  // The Vue build version to load with the `import` command
  // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  import Vue from "vue"
  import ElementUI from "element-ui"
  import App from "./App.vue"
  import router from "./router"
  import store from "./store"
  import i18n from "./i18n/i18n"
  import globalPlugin from "./utils/global"
  import permission from "./directive/permission/button"
  import NProgress from "nprogress"
d4283687   梁保满   首页布局完成,页面顶部返回组件
12
13
14
  import "babel-polyfill"
  import '@/components/globalComponents.js'
  
a0ea7efe   梁保满   init
15
16
17
18
19
  
  import "nprogress/nprogress.css"
  import "element-ui/lib/theme-chalk/index.css"
  import "font-awesome/css/font-awesome.css"
  import "@/router/permission"
d4283687   梁保满   首页布局完成,页面顶部返回组件
20
  import "@/assets/css/base.css"
a0ea7efe   梁保满   init
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  
  Vue.config.productionTip = false
  Vue.use(ElementUI)
  Vue.use(globalPlugin)
  Vue.use(permission)
  
  NProgress.inc(0.2)
  NProgress.configure({ easing: "ease", speed: 500, showSpinner: false })
  
  /* eslint-disable no-new */
  new Vue({
    el: "#app",
    router,
    store,
    i18n,
    render: h => h(App),
a0ea7efe   梁保满   init
37
  })