talk_appAmin/main.js

19 lines
386 B
JavaScript
Raw Normal View History

2024-04-23 23:01:35 +08:00
import { createSSRApp } from 'vue'
import App from './App'
import store from './store' // store
import { install } from './plugins' // plugins
import './permission' // permission
2024-05-04 20:45:49 +08:00
// main.js
import uviewPlus from 'uview-plus'
2024-04-23 23:01:35 +08:00
export function createApp() {
const app = createSSRApp(App)
2024-05-04 20:45:49 +08:00
app.use(uviewPlus)
2024-04-23 23:01:35 +08:00
app.use(store)
2024-05-04 20:45:49 +08:00
// app.use(uView)
2024-04-23 23:01:35 +08:00
install(app)
return {
app
}
}