Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
luwanquan committed Dec 12, 2019
1 parent ff2b58c commit f047d57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Hello = {

## Prerequisite

Project with `@vue/composition-api` and `@vue/babel-preset-app` installed
Project with `@vue/composition-api` and `@vue/cli-plugin-babel` installed



Expand All @@ -77,22 +77,11 @@ Project with `@vue/composition-api` and `@vue/babel-preset-app` installed
module.exports = {
presets: [
"vca-jsx",
"@vue/app"
"@vue/cli-plugin-babel/preset"
]
};
```

or `.babelrc`

```javascript
{
"presets": [
"vca-jsx",
"@vue/app"
]
}
```

## Note

- Here we need to distinguish between the default `functional` component and the `composition-api-based` `functional` component.
Expand Down
14 changes: 2 additions & 12 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,11 @@ const Hello = {
module.exports = {
presets: [
"vca-jsx",
"@vue/app"
"@vue/cli-plugin-babel/preset"
]
};
```

`.babelrc`

```javascript
{
"presets": [
"vca-jsx",
"@vue/app"
]
}
```


## 注意

Expand Down

0 comments on commit f047d57

Please sign in to comment.