Nuxt/test/fixtures/basic/pages/use-id.vue

15 lines
238 B
Vue
Raw Normal View History

<script setup>
const id = useId()
</script>
<template>
<form>
<h2 :id="id">
id: {{ id }}
</h2>
<LazyComponentWithIds />
<ClientOnly><ComponentWithIds /></ClientOnly>
<ComponentWithIds />
</form>
</template>