Skip to content

Commit

Permalink
fix: opt in to import.meta.* properties
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 25, 2024
1 parent c0bf0ca commit 5f433d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/pages/state/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (state && !state.foobar) {
const foobarValue = useState('stateTest', () => '')
if (process.server) {
if (import.meta.server) {
foobarValue.value = state.foobar
}
</script>

0 comments on commit 5f433d0

Please sign in to comment.