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
980 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
/**
* This project originally used easy-mock to simulate data,
* but its official service is very unstable,
* and you can build your own service if you need it.
* So here I use Mock.js for local emulation,
* it will intercept your request, so you won't see the request in the network.
* If you remove `../mock` it will automatically request easy-mock data.
*/
import '../mock' // simulation data
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
})