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

16 lines
239 B
Vue
Raw Permalink Normal View History

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