mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
docs: updated addPluginTemplate example to add filename property (#25468)
This commit is contained in:
parent
81d1345361
commit
02f86790c4
@ -223,6 +223,7 @@ export default defineNuxtModule({
|
||||
|
||||
addPluginTemplate({
|
||||
src: resolve(templatesDir, 'plugin.ejs'),
|
||||
filename: 'plugin.mjs',
|
||||
options: {
|
||||
...options,
|
||||
ssr: nuxt.options.ssr,
|
||||
|
Loading…
Reference in New Issue
Block a user