NurseStationPersonAppletUl/main.js

27 lines
405 B
JavaScript
Raw Normal View History

2023-03-28 10:02:47 +08:00
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-04-06 15:52:19 +08:00
import store from "@/store/index.js"
2023-03-28 10:02:47 +08:00
const app = new Vue({
2023-04-06 15:52:19 +08:00
store,
...App
2023-03-28 10:02:47 +08:00
})
app.$mount()
// #endif
// #ifdef VUE3
2023-04-06 15:52:19 +08:00
import {
createSSRApp
} from 'vue'
2023-03-28 10:02:47 +08:00
export function createApp() {
2023-04-06 15:52:19 +08:00
const app = createSSRApp(App)
return {
app
}
2023-03-28 10:02:47 +08:00
}
2023-04-06 15:52:19 +08:00
// #endif