Skip to content

Commit 1386c1a

Browse files
manavsehgalgaearon
authored andcommitted
Add TOC (#321)
1. Added TOC 2. Fix heading level for - import a component - examples 3. Remove dot in front of title Display Lint...
1 parent af31719 commit 1386c1a

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

template/README.md

+23-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
Below you will find some information on how to perform common tasks.
22
You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md).
33

4+
## Table of Contents
5+
6+
- [Sending Feedback](#sending-feedback)
7+
- [Folder Structure](#folder-structure)
8+
- [Available Scripts](#available-scripts)
9+
- [npm start](#npm-start)
10+
- [npm run build](#npm-run-build)
11+
- [npm run eject](#npm-run-eject)
12+
- [How To...](#how-to)
13+
- [Install a Dependency](#install-a-dependency)
14+
- [Import a Component](#import-a-component)
15+
- [Add a Stylesheet](#add-a-stylesheet)
16+
- [Post-Process CSS](#post-process-css)
17+
- [Add Images and Fonts](#add-images-and-fonts)
18+
- [Install React Bootstrap](#install-react-bootstrap)
19+
- [Display Lint Output in the Editor](#display-lint-output-in-the-editor)
20+
- [Add Flow](#add-flow)
21+
- [Deploy](#deploy)
22+
- [Something Missing?](#something-missing)
23+
424
## Sending Feedback
525

626
We are always open to [your feedback](https://github.com/facebookincubator/create-react-app/issues).
@@ -89,7 +109,7 @@ While you can still use `require()` and `module.exports`, we encourage you to us
89109

90110
For example:
91111

92-
### `Button.js`
112+
#### `Button.js`
93113

94114
```js
95115
import React, { Component } from 'react';
@@ -103,7 +123,7 @@ class Button extends Component {
103123
export default Button; // Don’t forget to use export default!
104124
```
105125

106-
### `DangerButton.js`
126+
#### `DangerButton.js`
107127

108128
```js
109129
import React, { Component } from 'react';
@@ -259,7 +279,7 @@ import { Navbar, Jumbotron, Button } from 'react-bootstrap';
259279

260280
Now you are ready to use the imported React Bootstrap components within your component hierarchy defined in the render method. Here is an example [App.js](https://github.com/manavsehgal/react-eshop/blob/master/src/App.js) redone using React Bootstrap.
261281

262-
### Display Lint Output in the Editor
282+
### Display Lint Output in the Editor
263283

264284
>Note: this feature is available with `[email protected]` and higher.
265285

0 commit comments

Comments
 (0)