Skip to content

Commit

Permalink
Add pinia plugin persisted state
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdu278 committed Jul 30, 2024
1 parent c0722e4 commit 905051d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export default defineNuxtConfig({
ssr: false,
modules: ['@nuxt/eslint', '@pinia/nuxt', '@nuxtjs/tailwindcss'],
modules: ['@nuxt/eslint', '@pinia/nuxt', '@nuxtjs/tailwindcss', '@pinia-plugin-persistedstate/nuxt',],
devtools: { enabled: true },
runtimeConfig: {
public: {
Expand Down
24 changes: 24 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"devDependencies": {
"@nuxt/eslint": "^0.3.13",
"@nuxtjs/tailwindcss": "^6.12.0",
"@pinia-plugin-persistedstate/nuxt": "^1.2.1",
"daisyui": "^4.12.10",
"eslint": "^8.57.0"
},
Expand Down

0 comments on commit 905051d

Please sign in to comment.