diff --git a/frontend/package.json b/frontend/package.json index 6afe2b1..767fee9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,6 +18,7 @@ "@fortawesome/vue-fontawesome": "^3.2.0", "bulma": "^1.0.4", "pinia": "^3.0.4", + "pinia-plugin-persistedstate": "^4.7.1", "vue": "^3.5.32", "vue-router": "^5.0.4" }, diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index fa9bbc2..4e7f0b6 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: pinia: specifier: ^3.0.4 version: 3.0.4(typescript@6.0.3)(vue@3.5.33(typescript@6.0.3)) + pinia-plugin-persistedstate: + specifier: ^4.7.1 + version: 4.7.1(pinia@3.0.4(typescript@6.0.3)(vue@3.5.33(typescript@6.0.3))) vue: specifier: ^3.5.32 version: 3.5.33(typescript@6.0.3) @@ -968,6 +971,9 @@ packages: resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==} engines: {node: '>=12'} + defu@6.1.7: + resolution: {integrity: sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==} + detect-libc@2.1.2: resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} engines: {node: '>=8'} @@ -1431,6 +1437,20 @@ packages: engines: {node: '>=0.10'} hasBin: true + pinia-plugin-persistedstate@4.7.1: + resolution: {integrity: sha512-WHOqh2esDlR3eAaknPbqXrkkj0D24h8shrDPqysgCFR6ghqP/fpFfJmMPJp0gETHsvrh9YNNg6dQfo2OEtDnIQ==} + peerDependencies: + '@nuxt/kit': '>=3.0.0' + '@pinia/nuxt': '>=0.10.0' + pinia: '>=3.0.0' + peerDependenciesMeta: + '@nuxt/kit': + optional: true + '@pinia/nuxt': + optional: true + pinia: + optional: true + pinia@3.0.4: resolution: {integrity: sha512-l7pqLUFTI/+ESXn6k3nu30ZIzW5E2WZF/LaHJEpoq6ElcLD+wduZoB2kBN19du6K/4FDpPMazY2wJr+IndBtQw==} peerDependencies: @@ -2625,6 +2645,8 @@ snapshots: define-lazy-prop@3.0.0: {} + defu@6.1.7: {} + detect-libc@2.1.2: {} electron-to-chromium@1.5.344: {} @@ -3036,6 +3058,12 @@ snapshots: pidtree@0.6.0: {} + pinia-plugin-persistedstate@4.7.1(pinia@3.0.4(typescript@6.0.3)(vue@3.5.33(typescript@6.0.3))): + dependencies: + defu: 6.1.7 + optionalDependencies: + pinia: 3.0.4(typescript@6.0.3)(vue@3.5.33(typescript@6.0.3)) + pinia@3.0.4(typescript@6.0.3)(vue@3.5.33(typescript@6.0.3)): dependencies: '@vue/devtools-api': 7.7.9 diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 356f88c..3730023 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,7 +1,9 @@ @@ -23,18 +25,18 @@ const language = useLanguageStore();