mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +08:00
bump 1.0.0-alpha.0
This commit is contained in:
parent
547d817a73
commit
33052a05d1
4
.npmignore
Normal file
4
.npmignore
Normal file
@ -0,0 +1,4 @@
|
||||
example
|
||||
index.html
|
||||
webpack.config.js
|
||||
test
|
16
README.md
16
README.md
@ -2,6 +2,22 @@
|
||||
|
||||
To add Vue JSX support.
|
||||
|
||||
## Installation
|
||||
|
||||
Install the preset with:
|
||||
|
||||
```
|
||||
npm install @ant-design-vue/babel-preset-jsx
|
||||
```
|
||||
|
||||
Then add the preset to .babelrc:
|
||||
|
||||
```
|
||||
{
|
||||
"presets": ["@ant-design-vue/babel-preset-jsx"]
|
||||
}
|
||||
```
|
||||
|
||||
## Syntax
|
||||
|
||||
### Content
|
||||
|
12
package.json
12
package.json
@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "jsx",
|
||||
"version": "1.0.0",
|
||||
"description": "jsx for vue 3",
|
||||
"main": "index.js",
|
||||
"name": "@ant-design-vue/babel-preset-jsx",
|
||||
"version": "1.0.0-alpha.0",
|
||||
"description": "Babel preset for Vue 3.0 JSX",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"dev": "webpack-dev-server",
|
||||
"lint": "eslint --ext .js src",
|
||||
@ -33,7 +33,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.9.6",
|
||||
"@babel/preset-env": "^7.9.6",
|
||||
"@vue/test-utils": "^2.0.0-alpha.4",
|
||||
"@vue/test-utils": "^2.0.0-alpha.6",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^26.0.1",
|
||||
"babel-loader": "^8.1.0",
|
||||
@ -42,7 +42,7 @@
|
||||
"eslint-plugin-import": "^2.20.2",
|
||||
"jest": "^26.0.1",
|
||||
"regenerator-runtime": "^0.13.5",
|
||||
"vue": "^3.0.0-beta.10",
|
||||
"vue": "^3.0.0-beta.14",
|
||||
"webpack": "^4.43.0",
|
||||
"webpack-cli": "^3.3.11",
|
||||
"webpack-dev-server": "^3.10.3"
|
||||
|
Loading…
Reference in New Issue
Block a user