Typescript support Extracting Props #5167
daniel100097
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm relatively new to Vue.js and currently looking for a way to define types for a Vue component using the extracted types from another.
In React, this is not an issue, but in Vue, I keep running into one problem after another...
Currently, I can extract the type in VS Code/Volar, but Vite can't resolve it.
Does anyone know how to do this? Or are you just typing the prop types again and again, or using a Component.vue.ts file for all types in the component?
Beta Was this translation helpful? Give feedback.
All reactions