You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for all the great work on this project! I’ve encountered a bit of friction when setting up with JavaScript instead of TypeScript and wanted to propose a potential improvement.
Currently, when using Vite or Nuxt with npx shadcn-vue@latest init, JavaScript users have to:
Manually configure and convert the setup from TypeScript to JavaScript (renaming files, removing tsconfig.json, and stripping type annotations).
Only then can they proceed with npx shadcn-vue@latest init.
Feature Suggestion
Would it be possible to add an option for JavaScript-only initialization directly in the npx shadcn-vue@latest init command? This could work with a flag like --js, which would:
Set up the project with JavaScript files instead of TypeScript.
Automatically handle the Vite or Nuxt initialization without requiring users to manually convert TypeScript files to JavaScript.
This option would make the process more straightforward for JavaScript users, allowing them to get started without manual conversion steps and reducing potential configuration errors.
Thanks for considering this improvement! Looking forward to any thoughts on making this setup more JavaScript-friendly.
Additional information
I intend to submit a PR for this feature.
I have already implemented and/or tested this feature.
The text was updated successfully, but these errors were encountered:
Describe the feature
Hi 👋
Thanks for all the great work on this project! I’ve encountered a bit of friction when setting up with JavaScript instead of TypeScript and wanted to propose a potential improvement.
Currently, when using Vite or Nuxt with
npx shadcn-vue@latest init
, JavaScript users have to:tsconfig.json
, and stripping type annotations).npx shadcn-vue@latest init
.Feature Suggestion
Would it be possible to add an option for JavaScript-only initialization directly in the
npx shadcn-vue@latest init
command? This could work with a flag like--js
, which would:This option would make the process more straightforward for JavaScript users, allowing them to get started without manual conversion steps and reducing potential configuration errors.
Thanks for considering this improvement! Looking forward to any thoughts on making this setup more JavaScript-friendly.
Additional information
The text was updated successfully, but these errors were encountered: