uni-item-manage/main.js

29 lines
481 B
JavaScript
Raw Permalink Normal View History

2023-10-17 02:42:18 +00:00
import App from './App'
2023-10-18 07:52:41 +00:00
2023-10-17 03:56:54 +00:00
import api from 'http/index'
2023-10-17 02:42:18 +00:00
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
2023-10-17 03:56:54 +00:00
Vue.prototype.$api = api;
2023-10-18 07:52:41 +00:00
import tmVuetify from "./tm-vuetify";
Vue.use(tmVuetify)
import uView from "./uview-ui";
Vue.use(uView);
2023-10-17 02:42:18 +00:00
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
2023-10-17 03:56:54 +00:00
// #endif