Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bcf52c1

Browse filesBrowse files
committed
docs: update vue 3 Compatibility
1 parent 7625197 commit bcf52c1
Copy full SHA for bcf52c1

File tree

Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Configurable Babel preset to add Vue JSX support. See the [configuration options here](./packages/babel-preset-jsx).
44

5+
## Compatibility
6+
7+
This repo is only compatible with:
8+
9+
- **Babel 7+**. For Babel 6 support, use [vuejs/babel-plugin-transform-vue-jsx](https://github.com/vuejs/babel-plugin-transform-vue-jsx)
10+
- **Vue 2+**. JSX is not supported for older versions. For Vue 3 support, there is an experimental plugin available as [@ant-design-vue/babel-plugin-jsx](https://github.com/vueComponent/jsx).
11+
512
## Installation
613

714
Install the preset with:
@@ -159,10 +166,3 @@ or PascalCase variable declarations:
159166
```jsx
160167
const HelloWorld = ({ props }) => <p>hello {props.message}</p>
161168
```
162-
163-
## Compatibility
164-
165-
This repo is only compatible with:
166-
167-
- **Babel 7+**. For Babel 6 support, use [vuejs/babel-plugin-transform-vue-jsx](https://github.com/vuejs/babel-plugin-transform-vue-jsx)
168-
- **Vue 2+**. JSX is not supported for older versions.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.