From 5f433d0ead94366537912a95a38af3020dc4de09 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 25 Mar 2024 13:42:29 +0000 Subject: [PATCH] fix: opt in to `import.meta.*` properties --- playground/pages/state/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }