talk_appAmin/main.js

21 lines
391 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
2024-05-24 23:20:46 +08:00
import './permission.js' // 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
}
}