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.
23 lines
430 B
23 lines
430 B
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
import '@/plugins'
|
|
import i18n from "./i18n";
|
|
import store from './store'
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
|
import element from './element/index'
|
|
Vue.use(element)
|
|
//把vuex定义成全局组件
|
|
Vue.prototype.$store = store
|
|
Vue.prototype._i18n = i18n;
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
App.mpType = 'app'
|
|
|
|
const app = new Vue({
|
|
...App,
|
|
i18n,
|
|
store
|
|
})
|
|
app.$mount()
|
|
|
|
|