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.
27 lines
757 B
27 lines
757 B
// The Vue build version to load with the `import` command
|
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
|
import Vue from 'vue'
|
|
import {WechatPlugin, AjaxPlugin, LoadingPlugin, ToastPlugin, AlertPlugin} from 'vux'
|
|
import App from './App'
|
|
import router from './router'
|
|
import '@/assets/iconfont.css'
|
|
import '@/assets/styles/main.scss'
|
|
import '@/assets/styles/style.css'
|
|
import '@/common/rem.js'
|
|
import ElementUI from 'element-ui'
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
|
|
|
Vue.config.productionTip = false
|
|
Vue.use(WechatPlugin)
|
|
Vue.use(AjaxPlugin)
|
|
Vue.use(LoadingPlugin)
|
|
Vue.use(ToastPlugin)
|
|
Vue.use(AlertPlugin)
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
template: '<App/>',
|
|
components: {App}
|
|
})
|