setMapStoreSuffix() not working #1223
Answered
by
posva
syntheticminds
asked this question in
Help and Questions
-
Reproductionhttps://github.com/syntheticminds/pinia-bug Steps to reproduce the bugOpen index.html Expected behaviorValue: 123 seen in browser. No errors in console. Actual behaviorBlank page. Error in console caused by Additional informationI suspect this is to do with Laravel Mix (Webpack) messing with |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 12, 2022
Replies: 1 comment 5 replies
-
Maybe it is related to laravel-mix. Have you tried moving the |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe it is related to laravel-mix. Have you tried moving the
setStoreSuffix()
directly to yourmain.js
? You have to make suresetStoreSuffix()
is called before anyuseMyStore()
. e.g. call it right next toapp.use(pinia)