Skip to content

Commit

Permalink
docs: updated addPluginTemplate example to add filename property (nux…
Browse files Browse the repository at this point in the history
  • Loading branch information
MooseSaeed authored Jan 28, 2024
1 parent 81d1345 commit 02f8679
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/3.api/5.kit/9.plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export default defineNuxtModule({

addPluginTemplate({
src: resolve(templatesDir, 'plugin.ejs'),
filename: 'plugin.mjs',
options: {
...options,
ssr: nuxt.options.ssr,
Expand Down

0 comments on commit 02f8679

Please sign in to comment.