Should vue2 + composition-api + pinia work on chrome in versions before v55? #1118
Unanswered
eeedvisss
asked this question in
Help and Questions
Replies: 2 comments
-
I had the same problem. Did you solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The devtools are indeed meant for recent browsers and should be tree shaken during the build process. Specifically during the minification. My guess here is some outdated dependencies related to the build (e.g. vue-cli) that are not treeshaking. Updating them should remove this problem |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
First thank you for this amazing Store for Vue!
We just started to convert our vuex3 store to pinia and noticed that we get errors when trying to launch the app on chrome in version 54 and under(in versions chrome v55+ everything works as we would expect):
async/await was introduced in chrome v55.
But why are @vue/devtools-api methods being called in production directly with code that is not compatible with older browsers?
Should pinia work on browsers earlier than chrome v55 or maybe just our pinia setup is wrong?
Our environment:
This can be reproduced with a clean vue install.
Reproduction repository with a clean vue 2 app(pinia is initialised in src/App.vue):
https://github.com/eeedvisss/pinia-test
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions