Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pnpm create slidev preset with proper Typescript support enabled out-of-the-box #2110

Open
septatrix opened this issue Mar 12, 2025 · 0 comments

Comments

@septatrix
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant