work_order/main.js

24 lines
389 B
JavaScript
Raw Normal View History

2024-01-07 14:26:19 +08:00
import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
2024-01-11 19:12:26 +08:00
import store from './store'
2024-01-07 14:26:19 +08:00
const app = new Vue({
2024-01-11 19:12:26 +08:00
...App,
store
2024-01-07 14:26:19 +08:00
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif