Skip to content

Commit 6cae2cb

Browse files
Pinia persisted storage
1 parent f58661d commit 6cae2cb

File tree

3 files changed

+16
-34
lines changed

3 files changed

+16
-34
lines changed

nuxt.config.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,10 @@ export default defineNuxtConfig({
6161

6262
modules: [
6363
'@pinia/nuxt',
64-
'@pinia-plugin-persistedstate/nuxt',
64+
'pinia-plugin-persistedstate/nuxt',
6565
'nuxt-schema-org',
6666
(_options, nuxt) => {
6767
nuxt.hooks.hook('vite:extendConfig', (config) => {
68-
// @ts-expect-error
6968
config.plugins.push(vuetify({autoImport: true}))
7069
})
7170
}
@@ -111,4 +110,4 @@ export default defineNuxtConfig({
111110
},
112111

113112
compatibilityDate: '2024-12-18',
114-
})
113+
})

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"devDependencies": {
1414
"@nuxt/devtools": "latest",
1515
"@nuxt/test-utils": "^3.17.1",
16-
"@pinia-plugin-persistedstate/nuxt": "^1.1.1",
1716
"@vitejs/plugin-vue": "^5.2.1",
1817
"jsdom": "^26.0.0",
1918
"nuxt": "^3.16.0",
@@ -23,9 +22,10 @@
2322
},
2423
"dependencies": {
2524
"@mdi/font": "^7.4.47",
26-
"@pinia/nuxt": "^0.5.1",
25+
"@pinia/nuxt": "^0.10.1",
2726
"axios": "^1.8.2",
28-
"nuxt-schema-org": "^5.0.4"
27+
"nuxt-schema-org": "^5.0.4",
28+
"pinia-plugin-persistedstate": "^4.2.0"
2929
},
3030
"pnpm": {
3131
"onlyBuiltDependencies": [

pnpm-lock.yaml

+11-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)