You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
777 B
JavaScript

8 years ago
import Vue from 'vue'
8 years ago
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
8 years ago
8 years ago
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
7 years ago
import locale from 'element-ui/lib/locale/lang/en' // lang i18n
8 years ago
import '@/styles/index.scss' // global css
8 years ago
import App from './App'
import store from './store'
import router from './router'
8 years ago
8 years ago
import '@/icons' // icon
8 years ago
import '@/permission' // permission control
8 years ago
/**
* If you don't want to use mock-server
* you want to use mockjs for request interception
* you can execute:
*
* import { mockXHR } from '../mock'
* mockXHR()
*/
// set ElementUI lang to EN
Vue.use(ElementUI, { locale })
8 years ago
8 years ago
Vue.config.productionTip = false
8 years ago
new Vue({
el: '#app',
router,
store,
render: h => h(App)
8 years ago
})