2024-04-19 15:01:14 +08:00
|
|
|
import App from './App'
|
|
|
|
import uviewPlus from '@/uni_modules/uview-plus'
|
|
|
|
import '@/utils/utils'
|
2024-04-17 15:27:43 +08:00
|
|
|
|
2024-04-19 15:01:14 +08:00
|
|
|
import { createSSRApp } from 'vue'
|
2024-04-17 15:27:43 +08:00
|
|
|
export function createApp() {
|
2024-04-19 15:01:14 +08:00
|
|
|
const app = createSSRApp(App)
|
|
|
|
app.use(uviewPlus)
|
2024-04-17 15:27:43 +08:00
|
|
|
return {
|
2024-04-19 15:01:14 +08:00
|
|
|
app,
|
|
|
|
}
|
2024-04-17 15:27:43 +08:00
|
|
|
}
|