© 2026 Hedgehog Software, LLC
<script setup lang="ts"> const route = useRoute() const fieldValue = computed(() => route.query.field) async function updateField(value: string) { const query = { ...route.query } query.field = value await navigateTo({ path: '/current-path', query }) } </script> <template> <input type="text" :model-value="value" @update:model-value="updateField($event)" /> </template>
Join the Discord to continue the conversation
Nuxt Community Chat Server
31,632 Members