Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
xkloveme committed Jun 3, 2024
1 parent a0c6394 commit 0c2db9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"gm-crypto": "^0.1.12",
"pinia": "^2.1.7",
"pinia": "2.1.0",
"pinia-plugin-persist": "^1.0.0",
"qrcode.vue": "^3.4.1",
"vue": "^3.3.13",
Expand Down
1 change: 0 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ pinia.use(piniaPersist)
const app = createApp(App)
app.use(router)
app.use(pinia)
window.pinia = pinia
app.mount('#app')
10 changes: 5 additions & 5 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ export default defineConfig({
port: 5173,
host: true,
},
// build:{
// rollupOptions:{
// external: ['pinia']
// }
// }
build:{
rollupOptions:{
external: ['pinia']
}
}
})

0 comments on commit 0c2db9d

Please sign in to comment.