-
Notifications
You must be signed in to change notification settings - Fork 509
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
[proposal] Svelte, Vue, Angular targets? #221
Comments
Svelte is incompatible with TS at the moment IIRC |
most people use preprocessors :) the incompatibility is more in the templating, which is a solvable "language server" issue |
I though VSCode explodes TS with svelte syntax? |
i mean i think we’ll know when we try it. mostly putting this up to gauge interest/ consider what else we might want in something like this |
If Vue without template string or SFC file or render(h), tsdx is totally ok with publish Vue package. But how about building Vue package with SFC or template string or render(h)? Vue community doesn't have tools like TSDX. Is there any temporary method to configure TSDX to support Vue SFC? |
@rockmandash you're welcome to contribute a vue template! just look at the react template for an example |
Update for TypeScript in the Svelte component template: sveltejs/component-template#29. |
for what its worth i've cooled off on this idea in the past year. better that tsdx do react libraries well. |
According Evan, there is no need to transpire vue in vue 3 because the bubblers do it. He suggest push raw .vue on non, so there isn’t much to be done. |
Desired Behavior
if we have a react target we might want to consider also scaffolding out svelte, vue, and angular builds. all of them use typescript internally.
for svelte, this is the recommended component publishing template https://github.com/sveltejs/component-template but it lacks typescript and we can make a dent here.
this is just an idea - we never want to sacrifice React DX and if it comes to it we'll drop it - but if the tsdx model could be battle tested by applying it to other frameworks it may be worth exploring.
The text was updated successfully, but these errors were encountered: