Nuxt/test/fixtures/basic/pages/wrapper-expose/page/another.vue

24 lines
276 B
Vue
Raw Normal View History

<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>