Skip to content

Commit f2daf06

Browse files
authored
docs: Valid install commands when using Github copy button (#426)
1 parent f533cc2 commit f2daf06

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

DOCS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
Install the plugin
1919

2020
```
21-
$ npm install --save-dev babel-plugin-module-resolver
21+
npm install --save-dev babel-plugin-module-resolver
22+
```
23+
or
24+
```
25+
yarn add --dev babel-plugin-module-resolver
2226
```
2327

2428
Specify the plugin in your `.babelrc` with the custom root or alias. Here's an example:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ const MyUtilFn = require('../../../../utils/MyUtilFn');
2525
Install the plugin
2626

2727
```
28-
$ npm install --save-dev babel-plugin-module-resolver
28+
npm install --save-dev babel-plugin-module-resolver
2929
```
3030
or
3131
```
32-
$ yarn add --dev babel-plugin-module-resolver
32+
yarn add --dev babel-plugin-module-resolver
3333
```
3434

3535
Specify the plugin in your `.babelrc` with the custom root or alias. Here's an example:

0 commit comments

Comments
 (0)