nurseWeChatAppletUI/main.js

27 lines
405 B
JavaScript
Raw Normal View History

import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
Vue.use(uView);
Vue.config.productionTip = false
App.mpType = 'app'
2023-03-15 10:35:06 +08:00
import store from "@/store/index.js"
const app = new Vue({
2023-03-15 10:35:06 +08:00
store,
...App
})
app.$mount()
// #endif
// #ifdef VUE3
2023-03-15 10:35:06 +08:00
import {
createSSRApp
} from 'vue'
export function createApp() {
2023-03-15 10:35:06 +08:00
const app = createSSRApp(App)
return {
app
}
}
// #endif