mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-13 02:59:13 +08:00
chore: update docs
This commit is contained in:
parent
6d71c30835
commit
6451e890cf
@ -71,6 +71,14 @@ Default: `createVNode`
|
|||||||
|
|
||||||
替换编译 JSX 表达式的时候使用的函数
|
替换编译 JSX 表达式的时候使用的函数
|
||||||
|
|
||||||
|
#### resolveType
|
||||||
|
|
||||||
|
Type: `boolean`
|
||||||
|
|
||||||
|
Default: `false`
|
||||||
|
|
||||||
|
(**Experimental**) Infer component metadata from types (e.g. `props`, `emits`, `name`). This is an experimental feature and may not work in all cases.
|
||||||
|
|
||||||
## 表达式
|
## 表达式
|
||||||
|
|
||||||
### 内容
|
### 内容
|
||||||
|
@ -75,6 +75,14 @@ Default: `createVNode`
|
|||||||
|
|
||||||
Replace the function used when compiling JSX expressions.
|
Replace the function used when compiling JSX expressions.
|
||||||
|
|
||||||
|
#### resolveType
|
||||||
|
|
||||||
|
Type: `boolean`
|
||||||
|
|
||||||
|
Default: `false`
|
||||||
|
|
||||||
|
(**Experimental**) Infer component metadata from types (e.g. `props`, `emits`, `name`). This is an experimental feature and may not work in all cases.
|
||||||
|
|
||||||
## Syntax
|
## Syntax
|
||||||
|
|
||||||
### Content
|
### Content
|
||||||
|
Loading…
Reference in New Issue
Block a user