Skip to content

Bug : Command 'add module' creates module file with wrong filetype #692

@djrasmusp

Description

@djrasmusp

Enviroment

  • Operating System : macOS
  • Node verson : v22.1.0
  • Nuxt version : 3.15.2
  • Nuxt Cli version: 3.20.0
  • Nitro version : 2.10.4
  • Package Manager : npm@10.9.1

Reproduction

https://stackblitz.com/edit/nuxt-starter-9tc8xqq2

Describe the bug

  1. Install Nuxt
  2. go to terminal and write "nuxi add module test"
  3. The Nuxt CLI creates a modules/test.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions