mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 18:07:22 +00:00
8 lines
125 B
TypeScript
8 lines
125 B
TypeScript
|
export default defineNuxtPlugin(() => {
|
||
|
return {
|
||
|
provide: {
|
||
|
myPlugin: () => 'Injected by my-plugin'
|
||
|
}
|
||
|
}
|
||
|
})
|