Open benweng opened 2 years ago
It is supported if you use vue-composition-api, like here: https://seb-l.github.io/pinia-plugin-persist/#vue2
it get wrong if this store add attribute 'persist'! "Error: [vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function."
Originally posted by @benweng in https://github.com/Seb-L/pinia-plugin-persist/issues/27#issuecomment-1065924482
Do you have an example of your code ?
it get wrong if this store add attribute 'persist'! "Error: [vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function."
Originally posted by @benweng in https://github.com/Seb-L/pinia-plugin-persist/issues/27#issuecomment-1065924482