docs: updated addPluginTemplate example to add filename property (#25468)

This commit is contained in:
Mostafa Said 2024-01-28 11:26:11 +02:00 committed by GitHub
parent 81d1345361
commit 02f86790c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -223,6 +223,7 @@ export default defineNuxtModule({
addPluginTemplate({
src: resolve(templatesDir, 'plugin.ejs'),
filename: 'plugin.mjs',
options: {
...options,
ssr: nuxt.options.ssr,