mirror of https://github.com/jkjoy/sunpeiwen.git
20 lines
356 B
Markdown
20 lines
356 B
Markdown
# @babel/code-frame
|
|
|
|
> Generate errors that contain a code frame that point to source locations.
|
|
|
|
See our website [@babel/code-frame](https://babeljs.io/docs/en/babel-code-frame) for more information.
|
|
|
|
## Install
|
|
|
|
Using npm:
|
|
|
|
```sh
|
|
npm install --save-dev @babel/code-frame
|
|
```
|
|
|
|
or using yarn:
|
|
|
|
```sh
|
|
yarn add @babel/code-frame --dev
|
|
```
|