mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
15 lines
441 B
Vue
15 lines
441 B
Vue
<template>
|
|
<NuxtExampleLayout example="with-plugins" show-tips>
|
|
<div>{{ $myPlugin() }}</div>
|
|
|
|
<template #tips>
|
|
<div>
|
|
<p>This example shows how to use the <code>plugins/</code> directory to auto-register plugins.</p>
|
|
<a href="https://v3.nuxtjs.org/docs/directory-structure/plugins" target="_blank">
|
|
Read more about plugins
|
|
</a>
|
|
</div>
|
|
</template>
|
|
</NuxtExampleLayout>
|
|
</template>
|