类型“{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ categoryLabels: (Major | ResCategoryLabel)[]; courses: Course[]; title: string; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>; ... 10 more ...; $watch<...”上不存在属性“swipe”。
用的是这个库
https://github.com/robinrodricks/vue3-touch-events
<v-touch @swipeleft="swipeleft"></v-touch>
这样呢
问题描述 vue3 项目开启 gzip后,文件报错
ts这里提示了一个错误,代码已经可以正常运行,只是这里有一个错误 下面是我的tsconfig的配置
vue3 cdn引入怎么使用组件?
请问这种类型赋错了怎么加进eslint的校验规则?eslint检查不了这种错误吗?可以看出这个错误是ts抛出的,已经安装了typescript-eslint的包。 根据回答调整的eslint设置,还是不行
我的组件是这样的 我看别人给的案例都是写元素的,但我这里有类名