mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-25 13:47:14 +00:00
18 lines
484 B
Vue
18 lines
484 B
Vue
<template>
|
|
<NuxtExampleLayout example="auto-imports/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>
|