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

[proposal] Svelte, Vue, Angular targets? #221

Open
swyxio opened this issue Oct 1, 2019 · 9 comments
Open

[proposal] Svelte, Vue, Angular targets? #221

swyxio opened this issue Oct 1, 2019 · 9 comments

Comments

@swyxio
Copy link
Collaborator

swyxio commented Oct 1, 2019

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.

@jaredpalmer
Copy link
Owner

Svelte is incompatible with TS at the moment IIRC

@swyxio
Copy link
Collaborator Author

swyxio commented Oct 1, 2019

most people use preprocessors :) the incompatibility is more in the templating, which is a solvable "language server" issue

@jaredpalmer
Copy link
Owner

I though VSCode explodes TS with svelte syntax?

@swyxio
Copy link
Collaborator Author

swyxio commented Oct 2, 2019

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

@rockmandash
Copy link

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?

@swyxio
Copy link
Collaborator Author

swyxio commented Jan 18, 2020

@rockmandash you're welcome to contribute a vue template! just look at the react template for an example

@devrnt
Copy link

devrnt commented Jul 16, 2020

Update for TypeScript in the Svelte component template: sveltejs/component-template#29.

@swyxio
Copy link
Collaborator Author

swyxio commented Jul 17, 2020

for what its worth i've cooled off on this idea in the past year. better that tsdx do react libraries well.

@jaredpalmer
Copy link
Owner

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.

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

4 participants