Skip to content

How to access other legacy vuex getters from pinia store #1306

Discussion options

You must be logged in to vote

If you are using the nuxt plugin, access $nuxt through this:

getters: {
  productType(): <type annotation needed here> {
    return this.$nuxt //...
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@natemate90
Comment options

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