mirror of
https://github.com/himool/HimoolERP.git
synced 2024-09-20 14:56:00 +08:00
31 lines
473 B
JavaScript
31 lines
473 B
JavaScript
import App from './App';
|
|
import store from 'store';
|
|
|
|
// #ifndef VUE3
|
|
import Vue from 'vue'
|
|
import uView from '@/uni_modules/uview-ui'
|
|
Vue.use(uView)
|
|
|
|
|
|
Vue.config.productionTip = false
|
|
Vue.prototype.$store = store;
|
|
|
|
App.mpType = 'app'
|
|
const app = new Vue({
|
|
store,
|
|
...App
|
|
})
|
|
app.$mount()
|
|
// #endif
|
|
|
|
// #ifdef VUE3
|
|
import { createSSRApp } from 'vue'
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
return {
|
|
app
|
|
}
|
|
}
|
|
// #endif
|
|
|