29608708
李宇
增加unia-app和html
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import Vue from 'vue';
import App from './App';
// 全局组件
import apis from './apis/index.js'
import utils from './service/utils.js'
Vue.prototype.API = apis;
Vue.prototype.utils = utils;
App.mpType = 'app'
//引入全局uView
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
const app = new Vue({
...App,
})
app.$mount()
|