forked from TALL/check-work
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
515 B
28 lines
515 B
5 years ago
|
import Vue from 'vue'
|
||
|
|
||
|
import ElementUI from 'element-ui'
|
||
|
import 'element-ui/lib/theme-chalk/index.css'
|
||
|
|
||
|
import '@/styles/index.scss'
|
||
|
|
||
|
import 'babel-polyfill'
|
||
|
|
||
|
import App from './App'
|
||
|
import store from './store'
|
||
|
import router from './router'
|
||
|
import './assets/icon/iconfont.css'
|
||
|
|
||
|
Vue.use(ElementUI)
|
||
|
Vue.config.productionTip = false
|
||
|
router.afterEach((to, from, next) => {
|
||
|
window.scrollTo(0, 0)
|
||
|
})
|
||
|
/* eslint-disable no-new */
|
||
|
new Vue({
|
||
|
el: '#app',
|
||
|
router,
|
||
|
store,
|
||
|
components: { App },
|
||
|
template: '<App/>'
|
||
|
})
|