pinia引入

This commit is contained in:
yanghang
2025-06-30 14:54:39 +08:00
parent 7833c0f1a5
commit e1da68c59b
10 changed files with 697 additions and 114 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
import App from './App'
import { createSSRApp } from 'vue'
import pinia from './store'
export function createApp() {
const app = createSSRApp(App)
app.use(pinia)
return {
app
}