第一次提交

This commit is contained in:
2025-05-02 13:09:37 +08:00
commit ea5690fe88
39 changed files with 11346 additions and 0 deletions

20
src/main.js Normal file
View File

@ -0,0 +1,20 @@
import { createSSRApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import { createSSRRouter } from './router.js'
import ClientOnly from './ssr/ClientOnly.vue'
import Hr from './ui/BetterHr.vue'
export function createApp() {
const app = createSSRApp(App)
const router = createSSRRouter()
const pinia = createPinia()
app.use(pinia)
app.use(router)
app
.component('ClientOnly', ClientOnly)
.component('Hr', Hr)
return { app, pinia, router }
}