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

[docs] Add TS Docs #409

Open
e111077 opened this issue Aug 16, 2022 · 1 comment
Open

[docs] Add TS Docs #409

e111077 opened this issue Aug 16, 2022 · 1 comment

Comments

@e111077
Copy link

e111077 commented Aug 16, 2022

Currently having trouble integrating TS into rocket. Is it supported?

Would appreciate some documentation on how to do so

@daKmoR
Copy link
Member

daKmoR commented Aug 21, 2022

*.rocket.[js,md,html] will not support Typescript for now... those files should mostly be about content...

but yes indeed you should be able to write your components and templates in ts - not 100% sure how but I assume something with esbuild...

probably will become a dedicated "preset" so you can enable it with one npm install and one line in the config

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

2 participants