You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
386 B
17 lines
386 B
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
|
|
}
|
|
}
|