Nuxt/test/fixtures/basic/pages/wrapper-expose/page/another.vue
Daniel Roe c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00

24 lines
276 B
Vue

<template>
<div>
<p>
hello
</p>
<NuxtLink
id="to-foo"
to="/wrapper-expose/page"
>
to foo
</NuxtLink>
</div>
</template>
<script setup lang="ts">
function hello () {
console.log('world')
}
defineExpose({
hello
})
</script>