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
Is your feature request related to a problem? Please describe.
I wanted to utilize typescript in my custom components. While they compiled fine my IDE (VSCode with the proper extensions) did not pick it up and provided no completions. I ended up copying some files and packages from another Vue Typescript projects and things seem to work now as I get completions etc but this is far from ideal (and I likely copied more than necessary while missing other things)
Describe the solution you'd like
Upon project creation the "slidev creation prompt" should ask if typescript support is desired. If yet, the respective dependencies and files should be set up
Describe alternatives you've considered
Instead of adding this to pnpm create slides, there could be a section in the docs on how one could set up typescript support
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I wanted to utilize typescript in my custom components. While they compiled fine my IDE (VSCode with the proper extensions) did not pick it up and provided no completions. I ended up copying some files and packages from another Vue Typescript projects and things seem to work now as I get completions etc but this is far from ideal (and I likely copied more than necessary while missing other things)
Describe the solution you'd like
Upon project creation the "slidev creation prompt" should ask if typescript support is desired. If yet, the respective dependencies and files should be set up
Describe alternatives you've considered
Instead of adding this to
pnpm create slides
, there could be a section in the docs on how one could set up typescript supportThe text was updated successfully, but these errors were encountered: