nuxtr-vscode icon indicating copy to clipboard operation
nuxtr-vscode copied to clipboard

feat: Add nuxt file extension configuration

Open zhaolinlau opened this issue 5 months ago โ€ข 1 comments

๐Ÿ”— Linked issue / Discussion

#118

โ“ Type of change

  • [x] ๐Ÿ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • [ ] ๐Ÿž Bug fix (a non-breaking change that fixes an issue)
  • [ ] ๐Ÿ‘Œ Enhancement (improving an existing functionality like performance)
  • [x] โœจ New feature (a non-breaking change that adds functionality)
  • [ ] ๐Ÿงน Chore (updates to the build process or auxiliary tools and libraries)
  • [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to change)

๐Ÿ“š Description

Since not all the Nuxters are using TypeScript, including me, so the Nuxtr extension should also support the .js file extension. And this PR added an option for them to choose either .ts or .js for file creation, and it's .ts by default.

๐Ÿ“ Checklist

  • [x] I have linked an issue or discussion.
  • [x] I have updated the documentation accordingly.

zhaolinlau avatar Sep 10 '24 13:09 zhaolinlau