mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-29 01:45:40 +08:00
Add syntax highlighting configuration guide. (#806)
* Add syntax highlighting configuration guide. * Update link.
This commit is contained in:
committed by
Ville Immonen
parent
49414d6ba0
commit
9fd528c5b7
@@ -13,6 +13,7 @@ You can find the most recent version of this guide [here](https://github.com/fac
|
||||
- [npm test](#npm-test)
|
||||
- [npm run build](#npm-run-build)
|
||||
- [npm run eject](#npm-run-eject)
|
||||
- [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor)
|
||||
- [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor)
|
||||
- [Installing a Dependency](#installing-a-dependency)
|
||||
- [Importing a Component](#importing-a-component)
|
||||
@@ -156,6 +157,10 @@ Instead, it will copy all the configuration files and the transitive dependencie
|
||||
|
||||
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
||||
|
||||
## Syntax Highlighting in the Editor
|
||||
|
||||
To configure the syntax highlighting in your favorite text editor, head to the [Babel's docs](https://babeljs.io/docs/editors) and follow the instructions. Some of the most popular editors are covered.
|
||||
|
||||
## Displaying Lint Output in the Editor
|
||||
|
||||
>Note: this feature is available with `react-scripts@0.2.0` and higher.
|
||||
|
||||
Reference in New Issue
Block a user