Skip to content

[Vue warn]: Injection "Symbol(pinia)" not found #1256

Answered by varna
varna asked this question in Help and Questions
Discussion options

You must be logged in to vote

It was a typo... fieldsSotre !== fieldsStore .
So, I'm still seeing this error (but the store works now)

Replacing

const app = createApp(FieldsControlComponent);
app.use(pinia);

with

const app = new Vue({
  pinia,
  render: h => h(FieldsControlComponent)
})

removes this error

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by varna
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants