vue-tsx-support
vue-tsx-support copied to clipboard
TSX (JSX for TypeScript) support library for Vue
I am not the best at Typescript, so this type may be off a little, but I noticed that when trying to make pure function components two things happened: 1....
Using this library with Nuxt.js will cause a fatal error. ``` Package subpath './enable-check' is not defined by "exports" ``` --- I tried to import `vue-tsx-support/enable-check` into `nuxt.config.ts`. But when...
From readme: > Props type is infered from props definition automatically. > For example, props type will be { text: string, important?: boolean } in below code ```ts props: {...
``` const LazyComp = () => import('@/LazyComp'); ``` and somewhere below in render function: ``` ``` Runtime is ok, but Typescript is not: ``` JSX element type 'Promise' is not...
Creating a component in a generic function with props of those generic types causes compiler error
Creating a component constructor from a generic function that has any properties of those types will not compile in markup. It produces the following compiler error based on the provided...
code: 
[vue-class-component: using mixins](https://github.com/vuejs/vue-class-component#using-mixins)
Excuse me. I want to create a component with dynamicn data, but i found the dynamic data can not be hint in the component. for example: ``` // base component...
I am running into a problem that I dont think is how it used to work, but not sure. Given my component. ``` import Vue, { VNode } from 'vue';...