mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-12-17 10:51:40 +08:00
chore: rename package namesapce from ant-design-vue to vue
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Babel Plugin JSX for Vue 3.0
|
||||
|
||||
 [](https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx)
|
||||
[](https://circleci.com/gh/vuejs/vue-next) [](https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx)
|
||||
|
||||
To add Vue JSX support.
|
||||
|
||||
@@ -11,14 +11,14 @@ English | [简体中文](/packages/babel-plugin-jsx/README-zh_CN.md)
|
||||
Install the plugin with:
|
||||
|
||||
```bash
|
||||
npm install @ant-design-vue/babel-plugin-jsx -D
|
||||
npm install @vue/babel-plugin-jsx -D
|
||||
```
|
||||
|
||||
Then add the plugin to .babelrc:
|
||||
|
||||
```js
|
||||
{
|
||||
"plugins": ["@ant-design-vue/babel-plugin-jsx"]
|
||||
"plugins": ["@vue/babel-plugin-jsx"]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user