mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 02:14:44 +00:00
c1ddb359e3
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
24 lines
276 B
Vue
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>
|