This commit is contained in:
唐明明
2024-01-03 11:19:34 +08:00
parent 7afdf38b93
commit 788c1e7af4

27
main.js
View File

@@ -1,10 +1,27 @@
import App from './App' import App from './App'
import Vue from 'vue' import Vue from 'vue'
import uView from "uview-ui";
Vue.config.productionTip = false import store from './store'
import { router, RouterMount } from 'router'
import Mylink from './node_modules/uni-simple-router/dist/link.vue'
App.mpType = 'app' import { INIT } from './im/INIT'
const app = new Vue({
// (async () => {
Vue.component('my-link', Mylink)
Vue.use(uView)
Vue.use(router)
// await INIT();
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
store,
...App ...App
}) })
app.$mount() app.$mount()
// })()