Skip to content

Commit 959d915

Browse files
authored
docs: correct babel plugin names (fix #395)
1 parent a5c6deb commit 959d915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ Create `tsconfig.json` on your project root and specify `experimentalDecorators`
6666

6767
#### Babel
6868

69-
Install `@babel/proposal-decorators` and `@babel/proposal-class-properties`:
69+
Install `@babel/plugin-proposal-decorators` and `@babel/plugin-proposal-class-properties`:
7070

7171
```sh
72-
$ npm install --save-dev @babel/proposal-decorators @babel/proposal-class-properties
72+
$ npm install --save-dev @babel/plugin-proposal-decorators @babel/plugin-proposal-class-properties
7373
```
7474

7575
Then configure `.babelrc` on your project root:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy