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