diff --git a/playground/pages/state/index.vue b/playground/pages/state/index.vue index 4de9f3b..22b5c62 100644 --- a/playground/pages/state/index.vue +++ b/playground/pages/state/index.vue @@ -23,7 +23,7 @@ if (state && !state.foobar) { const foobarValue = useState('stateTest', () => '') -if (process.server) { +if (import.meta.server) { foobarValue.value = state.foobar }