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 31fbff1 commit eb5e6fdCopy full SHA for eb5e6fd
packages/pinia/src/createPinia.ts
@@ -57,7 +57,7 @@ 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. Avoid old browsers like IE11.
60
- if (__USE_DEVTOOLS__ && typeof Proxy !== 'undefined') {
+ if (__USE_DEVTOOLS__ && IS_CLIENT && typeof Proxy !== 'undefined') {
61
pinia.use(devtoolsPlugin)
62
}
63
0 commit comments