mirror of
https://github.com/yangzongzhuan/RuoYi-App.git
synced 2025-09-27 14:42:41 +00:00
17 lines
386 B
JavaScript
17 lines
386 B
JavaScript
import { createSSRApp } from 'vue'
|
|
import App from './App'
|
|
import store from './store' // store
|
|
import { install } from './plugins' // plugins
|
|
import './permission' // permission
|
|
import { useDict } from '@/utils/dict'
|
|
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
app.use(store)
|
|
app.config.globalProperties.useDict = useDict
|
|
install(app)
|
|
return {
|
|
app
|
|
}
|
|
}
|