English | 简体中文
Bring props
, emitEvents
and expose methods
tips to some imported custom components in Vue development.
-
I want to know which
props
orevent
types of components I imported can pass and correspond to them. -
Maybe the attributes in this defineProps are exported from other
ts
files. -
When you hover to the
tagName
of 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.
In the latest version, we can detect "auto-imports.d.ts"
and provide smart tips for "props"
, "events"
and "methods"