Can you add/override getters to a store through a pinia plugin? #1967
Unanswered
linnea
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have my plugin adding state, state subscribers, action subscribers, etc.
It seems like overriding getters is totally off limits, but wondering if there's any guidelines to how to add getters through the plugin. I'm doing it in a very basic way which seems to be functioning if you call the getter.
PiniaPlugin.js
Beta Was this translation helpful? Give feedback.
All reactions