|
12345678910111213141516171819202122232425262728 |
- import Vue from 'vue';
- import App from './App';
- import dayjs from './utils/dayjs.min.js'
- import store from './store/index.js'
- Vue.config.productionTip = false;
-
- Vue.prototype.$dayjs = dayjs;
- Vue.prototype.$store = store;
-
- // 引入全局uView
- import uView from 'uview-ui'
- Vue.use(uView);
-
-
-
- import http from '@/utils/http.js'
-
- Vue.use(http, app)
-
-
-
- App.mpType = 'app';
-
- const app = new Vue({
- ...App,
- store,
- });
- app.$mount();
|