Skip to content

Commit

Permalink
fix(add): correct extension for module template (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
djrasmusp authored Jan 20, 2025
1 parent d769943 commit 9592f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxi/src/utils/templates/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Template } from '.'
import { resolve } from 'pathe'

const module: Template = ({ name, nuxtOptions }) => ({
path: resolve(nuxtOptions.rootDir, 'modules', `${name}.vue`),
path: resolve(nuxtOptions.rootDir, 'modules', `${name}.ts`),
contents: `
import { defineNuxtModule } from 'nuxt/kit'
Expand Down

0 comments on commit 9592f01

Please sign in to comment.