import { createSSRApp } from "vue" import App from "./App.vue" import { initRouteInterceptor } from "@/route" import { setupStore } from "@/stores" export function createApp() { const app = createSSRApp(App) setupStore(app) initRouteInterceptor() return { app, } }