nuxtr-vscode
nuxtr-vscode copied to clipboard
feat: Add nuxt file extension configuration
๐ 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.