mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-01-26 16:19:09 +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.
|
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
|
## Syntax
|
||||||
|
|
||||||
### Content
|
### Content
|
||||||
|
12
package.json
12
package.json
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "jsx",
|
"name": "@ant-design-vue/babel-preset-jsx",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0-alpha.0",
|
||||||
"description": "jsx for vue 3",
|
"description": "Babel preset for Vue 3.0 JSX",
|
||||||
"main": "index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack-dev-server",
|
"dev": "webpack-dev-server",
|
||||||
"lint": "eslint --ext .js src",
|
"lint": "eslint --ext .js src",
|
||||||
@ -33,7 +33,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.9.6",
|
"@babel/core": "^7.9.6",
|
||||||
"@babel/preset-env": "^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-eslint": "^10.1.0",
|
||||||
"babel-jest": "^26.0.1",
|
"babel-jest": "^26.0.1",
|
||||||
"babel-loader": "^8.1.0",
|
"babel-loader": "^8.1.0",
|
||||||
@ -42,7 +42,7 @@
|
|||||||
"eslint-plugin-import": "^2.20.2",
|
"eslint-plugin-import": "^2.20.2",
|
||||||
"jest": "^26.0.1",
|
"jest": "^26.0.1",
|
||||||
"regenerator-runtime": "^0.13.5",
|
"regenerator-runtime": "^0.13.5",
|
||||||
"vue": "^3.0.0-beta.10",
|
"vue": "^3.0.0-beta.14",
|
||||||
"webpack": "^4.43.0",
|
"webpack": "^4.43.0",
|
||||||
"webpack-cli": "^3.3.11",
|
"webpack-cli": "^3.3.11",
|
||||||
"webpack-dev-server": "^3.10.3"
|
"webpack-dev-server": "^3.10.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user