Skip to content

Commit

Permalink
Merge pull request #26 from danielroe/process-client
Browse files Browse the repository at this point in the history
fix: opt in to `import.meta.*` properties
  • Loading branch information
dulnan authored Jul 1, 2024
2 parents c42b45b + 5f433d0 commit f34bc07
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 f34bc07

Please sign in to comment.