5 Commits

6 changed files with 14 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ export const useLoginState = defineStore(
persist: {
key: 'xsh_assistant_persisted_state',
storage: piniaPluginPersistedstate.localStorage(),
paths: ['is_logged_in', 'token', 'user'],
pick: ['is_logged_in', 'token', 'user'],
},
}
)

View File

@@ -33,7 +33,7 @@ export const useTourState = defineStore(
persist: {
key: 'xsh_assistant_tour_state',
storage: piniaPluginPersistedstate.localStorage(),
paths: ['tourState'],
pick: ['tourState'],
},
}
)

2
pnpm-lock.yaml generated
View File

@@ -45,7 +45,7 @@ importers:
specifier: ^4.1.0
version: 4.1.0
dayjs:
specifier: ^1.11.12
specifier: ^1.11.19
version: 1.11.19
events:
specifier: ^3.3.0

View File

@@ -1,13 +1,18 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
},
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
"path": "./.nuxt/tsconfig.app.json"
},
{
"path": "./.nuxt/tsconfig.server.json"
},
{
"path": "./.nuxt/tsconfig.shared.json"
},
{
"path": "./.nuxt/tsconfig.node.json"
}
]
}