v-component-prompter
v-component-prompter copied to clipboard
动态提供自定义组件的属性和事件 | Dynamically provide properties and events for custom components
English | 简体中文
Bring props, emitEvents and expose methods tips to some imported custom components in Vue development.
Example
-
I want to know which
propsoreventtypes of components I imported can pass and correspond to them.
-
Maybe the attributes in this defineProps are exported from other
tsfiles.

-
When you hover to the
tagNameof this component, there will be a table listing specific passable parameter information.
-
When you hover to a specific attribute on the component attribute, the type of this attribute will be prompted. If there is a comment in the component, it will also be prompted when hover.


Auto Import
In the latest version, we can detect "auto-imports.d.ts" and provide smart tips for "props", "events" and "methods"