Skip to content

vue-tsc support for js emit #640

Answered by sethidden
DarrenTheDev asked this question in Q&A
Discussion options

You must be logged in to vote

Not familiar with this case but maybe you could just generate .d.ts files with vue-tsc, then compile .vue to .js files with Vite?

Even with Vue 2 I used to build libs like (vue cli): vue-cli-service build --target lib && tsc

Replies: 6 comments 12 replies

Comment options

You must be logged in to vote
6 replies
@DarrenTheDev
Comment options

@Jackie1210
Comment options

@reslear
Comment options

@andredewaard
Comment options

@codethief
Comment options

Answer selected by johnsoncodehk
Comment options

You must be logged in to vote
3 replies
@DarrenTheDev
Comment options

@johnsoncodehk
Comment options

@sethidden
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@sethidden
Comment options

@ccqgithub
Comment options

@ccqgithub
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet