diff --git a/package.json b/package.json index 650fdef..610d27d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/main.js b/src/main.js index 7b24cfa..e05ac2c 100644 --- a/src/main.js +++ b/src/main.js @@ -11,5 +11,4 @@ pinia.use(piniaPersist) const app = createApp(App) app.use(router) app.use(pinia) -window.pinia = pinia app.mount('#app') \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index 818641e..cbc1058 100644 --- a/vite.config.js +++ b/vite.config.js @@ -13,9 +13,9 @@ export default defineConfig({ port: 5173, host: true, }, - // build:{ - // rollupOptions:{ - // external: ['pinia'] - // } - // } + build:{ + rollupOptions:{ + external: ['pinia'] + } + } }) \ No newline at end of file