João Medeiros
João Medeiros
@panhezeng Im using TSX in "3.0.0-beta.10" Quasar/App, your babel.config.js is correct, but you need config "babel loader" on "quasar.conf.js"; see my config on "extendWebpack" ```js extendWebpack (cfg, { isServer, isClient...
@IlCallo Yes man, I Will Do
Hello Guys, @IlCallo, @Smrtnyk, @panhezeng. I published a working example of "Quasar v2 / Vue 3" with official plugin "https://github.com/vuejs/jsx-next". https://github.com/joaomede/Quasar-Vue3-TSX https://codesandbox.io/s/github/joaomede/Quasar-Vue3-TSX Comments: * quasar v2 components are not returning...
@Smrtnyk, updated my example https://codesandbox.io/s/github/joaomede/Quasar-Vue3-TSX, changing the file "app.vue" to "app.tsx", thanks for that. about this: > I don't have the type issues with quasar components when I use kebab-case...
@IlCallo, I believe that's the problem here, the project generates types, overlapping the originals, https://github.com/quasarframework/quasar/blob/918af69abb4e855f0848cd699b0413fed65e51e2/ui/build/build.types.js#L311 I believe this needs to be revised as the original types returned by the components...
 the exports types is all correct, the problem is on replaced types, in https://github.com/quasarframework/quasar/blob/918af69abb4e855f0848cd699b0413fed65e51e2/ui/build/build.types.js#L311
@IlCallo, I generated an type expected by JSX, including the JSDoc comments from the props are working. ```tsx import { LooseDictionary, QBtn as Button } from 'quasar' import { defineComponent,...
I believe they need to receive similar values as props, however, it will serve for "single-file.vue" intellisense, but this needs to be validated better.
original declare from vue https://github.com/vuejs/vue-next/blob/f258f5d2c2774eb2a2c2e4a0ac235b23d0cf9968/packages/runtime-core/src/apiDefineComponent.ts ```ts export type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps export type DefineComponent< PropsOrPropOptions = {}, RawBindings = {}, D = {}, C extends ComputedOptions...
please, show your Package.json version of (vue and relative libs)