mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
afcaaff57d
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Pooya Parsa <pyapar@gmail.com>
24 lines
718 B
Vue
24 lines
718 B
Vue
<template>
|
|
<NuxtExampleLayout :show-tips="true" example="with-components">
|
|
<h1 class="text-xl opacity-50">
|
|
Auto Imported Components
|
|
</h1>
|
|
<div>
|
|
<!-- Auto Imported Components -->
|
|
<HelloWorld class="text-2xl" />
|
|
<Nuxt3 class="text-2xl" />
|
|
<ParentFolderHello class="mt-6" />
|
|
</div>
|
|
|
|
<template #tips>
|
|
<div>
|
|
Components under <code>components/</code> folder are auto imported and can be directly used in your templates.
|
|
Read more about
|
|
<NLink href="https://v3.nuxtjs.org/docs/directory-structure/components" target="_blank">
|
|
the components directory.
|
|
</NLink>
|
|
</div>
|
|
</template>
|
|
</NuxtExampleLayout>
|
|
</template>
|