19 lines
382 B
JavaScript
19 lines
382 B
JavaScript
import App from './App';
|
|
import uView from '@/uni_modules/uview-ui';
|
|
import Vue from 'vue';
|
|
import store from './store';
|
|
function showLoading(show) {
|
|
store.commit('showLoading', show);
|
|
}
|
|
Vue.prototype.$store = store;
|
|
Vue.prototype.$showLoading = showLoading;
|
|
Vue.use(uView);
|
|
Vue.config.productionTip = false;
|
|
App.mpType = 'app';
|
|
const app = new Vue({
|
|
...App
|
|
});
|
|
app.$mount();
|
|
|
|
|