Skip to content

Commit 1abb7c5

Browse files
committed
docs: replace .babelrc with babel.config.js
1 parent 70e3794 commit 1abb7c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Install the preset with:
1717
npm install @vue/babel-preset-jsx @vue/babel-helper-vue-jsx-merge-props
1818
```
1919

20-
Then add the preset to `.babelrc`:
20+
Then add the preset to `babel.config.js`:
2121

22-
```json
23-
{
24-
"presets": ["@vue/babel-preset-jsx"]
22+
```js
23+
module.exports = {
24+
presets: ['@vue/babel-preset-jsx'],
2525
}
2626
```
2727

0 commit comments

Comments
 (0)