update anjungan, store management
This commit is contained in:
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { createPersistedState } from 'pinia-plugin-persistedstate'
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.$pinia.use(createPersistedState({
|
||||
storage: typeof window !== 'undefined' ? localStorage : undefined,
|
||||
}))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user