2020-04-23 11:46:23 +08:00
|
|
|
import Vue from 'vue'
|
|
|
|
import App from './App.vue'
|
2020-05-07 03:29:32 +08:00
|
|
|
import ElementUI from 'element-ui'
|
2020-05-14 03:24:35 +08:00
|
|
|
import 'element-ui/lib/theme-chalk/icon.css'
|
2020-05-13 05:19:42 +08:00
|
|
|
import 'element-ui/lib/theme-chalk/notification.css'
|
|
|
|
import 'element-ui/lib/theme-chalk/loading.css'
|
2020-04-24 19:43:00 +08:00
|
|
|
import axios from '@utils/axios'
|
|
|
|
import VueAxios from 'vue-axios'
|
2020-05-02 01:25:28 +08:00
|
|
|
import router from './router'
|
2020-05-02 20:54:21 +08:00
|
|
|
import i18n from './i18n'
|
2020-05-14 03:24:35 +08:00
|
|
|
// store
|
|
|
|
import store from '@/store/index'
|
2020-05-13 05:19:42 +08:00
|
|
|
import VueClipboard from 'vue-clipboard2'
|
2020-05-15 03:20:11 +08:00
|
|
|
import infiniteScroll from 'vue-infinite-scroll'
|
2020-05-03 15:10:01 +08:00
|
|
|
import "@/assets/style/theme/register.scss"
|
2020-04-24 19:43:00 +08:00
|
|
|
|
2020-04-23 11:46:23 +08:00
|
|
|
Vue.config.productionTip = false
|
2020-05-07 03:29:32 +08:00
|
|
|
Vue.use(ElementUI)
|
2020-04-24 19:43:00 +08:00
|
|
|
Vue.use(VueAxios,axios)
|
2020-05-13 05:19:42 +08:00
|
|
|
Vue.use(VueClipboard)
|
2020-05-15 03:20:11 +08:00
|
|
|
Vue.use(infiniteScroll)
|
2020-04-23 11:46:23 +08:00
|
|
|
|
|
|
|
new Vue({
|
2020-05-02 01:25:28 +08:00
|
|
|
router,
|
2020-05-14 03:24:35 +08:00
|
|
|
store,
|
2020-05-02 20:54:21 +08:00
|
|
|
i18n,
|
|
|
|
render: h => h(App)
|
2020-04-23 11:46:23 +08:00
|
|
|
}).$mount('#app')
|