mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
18 lines
471 B
Vue
18 lines
471 B
Vue
|
<template>
|
||
|
<NuxtExampleLayout example="composables">
|
||
|
<p>Named export <code>useA</code> : {{ a }}</p>
|
||
|
<p>Named export <code>useB</code> : {{ b }}</p>
|
||
|
<p>Named export <code>useC</code> : {{ c }}</p>
|
||
|
<p>Named export <code>useD</code> : {{ d }}</p>
|
||
|
<p>Default export <code>useFoo</code> : {{ foo }}</p>
|
||
|
</NuxtExampleLayout>
|
||
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
const a = useA()
|
||
|
const b = useB()
|
||
|
const c = useC()
|
||
|
const d = useD()
|
||
|
const foo = useFoo()
|
||
|
</script>
|