2024-08-19 17:52:52 +08:00

17 lines
277 B
TypeScript

import { createSSRApp } from 'vue';
import App from './App.vue';
import { setupRouter } from './router';
import { setupStore } from './stores';
export function createApp() {
const app = createSSRApp(App);
setupStore(app);
setupRouter(app);
return {
app,
};
}