Skip to content

Actions -> Usage with the Options API -> with Setup() example on the pinia page doesn't work #1514

Discussion options

You must be logged in to vote

Don't mix setup and options API in components, it's not really supported.
In your case, use mapStores(): https://pinia.vuejs.org/cookbook/options-api.html#usage-without-setup

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@l0ggik
Comment options

@posva
Comment options

posva Aug 3, 2022
Maintainer

@l0ggik
Comment options

Answer selected by l0ggik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants