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.
24 lines
417 B
24 lines
417 B
import Vue from 'vue' |
|
import App from './App' |
|
import store from './store' // store |
|
import plugins from './plugins' // plugins |
|
import './permission' // permission |
|
|
|
// 引入uView |
|
import uView from '@/uni_modules/uview-ui' |
|
|
|
// 挂载全局对象 |
|
Vue.use(plugins).use(uView) |
|
|
|
Vue.config.productionTip = false |
|
|
|
// 挂载vuex |
|
Vue.prototype.$store = store |
|
|
|
App.mpType = 'app' |
|
|
|
const app = new Vue({ |
|
...App |
|
}) |
|
|
|
app.$mount() |