We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccfd3d1 commit ca73db9Copy full SHA for ca73db9
packages/pinia/src/createPinia.ts
@@ -57,8 +57,8 @@ export function createPinia(): Pinia {
57
58
// pinia devtools rely on dev only features so they cannot be forced unless
59
// the dev build of Vue is used
60
- // We also don't need devtools in test mode
61
- if (__DEV__ && IS_CLIENT && !__TEST__) {
+ // We also don't need devtools in test mode or anywhere where Proxy isn't supported (like IE)
+ if (__DEV__ && IS_CLIENT && !__TEST__ && typeof Proxy !== 'undefined') {
62
pinia.use(devtoolsPlugin)
63
}
64
0 commit comments