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
I do not use typescript in my project and adding components with npx shadcn-svelte@next add card results in adding components that use typescript and types.
I do have typescript: false in components.json
Is this expected behaviour?
Even if this is expected behaviour two issues persist, lang=ts is not added to the <script tag>
In case of button where it has <script module> and also <script> the cli surprisingly added the lang=ts for the <script module> but not for <script> tag.
Describe the bug
I do not use typescript in my project and adding components with
npx shadcn-svelte@next add card
results in adding components that use typescript and types.I do have
typescript: false
incomponents.json
lang=ts
is not added to the<script tag>
<script module>
and also<script>
the cli surprisingly added thelang=ts
for the<script module>
but not for<script>
tag.Reproduction
run
npx shadcn-svelte@next add card
with the below components.json
results in
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: