Rap 原分销系统代码Web
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80a44a67c164a0e0e6bfa54a9e867bf02453ddd2.svn-base 806B

5 달 전
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import Vue from 'vue'
  2. import Cookies from 'js-cookie'
  3. import 'normalize.css/normalize.css'
  4. import Element from 'element-ui'
  5. // 数据字典
  6. import dict from './components/Dict'
  7. // 权限指令
  8. import checkPer from '@/utils/permission'
  9. import permission from './components/Permission'
  10. import './assets/styles/element-variables.scss'
  11. // global css
  12. import './assets/styles/index.scss'
  13. import App from './App'
  14. import store from './store'
  15. import router from './router/routers'
  16. import './assets/icons' // icon
  17. import './router/index' // permission control
  18. Vue.use(checkPer)
  19. Vue.use(permission)
  20. Vue.use(dict)
  21. Vue.use(Element, {
  22. size: Cookies.get('size') || 'small' // set element-ui default size
  23. })
  24. Vue.config.productionTip = false
  25. new Vue({
  26. el: '#app',
  27. router,
  28. store,
  29. render: h => h(App)
  30. })