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.

20 lines
343 B

2 years ago
import App from './App'
import Vue from 'vue'
import uView from "uview-ui";
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
Vue.use(uView);
Vue.prototype.$deviceId = 0;
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp(){
const app = createSSRApp(App)
return {
app
}
}
// #endif