Skip to content

Commit 0e47720

Browse files
enguerrangaearon
authored andcommitted
update reference with new name (facebook#2259)
s/adding-images-and-fonts/adding-images-fonts-and-files/
1 parent 26fb134 commit 0e47720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ The `<script>` tag with the compiled code will be added to it automatically duri
579579
You can also add other assets to the `public` folder.
580580

581581
Note that we normally encourage you to `import` assets in JavaScript files instead.
582-
For example, see the sections on [adding a stylesheet](#adding-a-stylesheet) and [adding images and fonts](#adding-images-and-fonts).
582+
For example, see the sections on [adding a stylesheet](#adding-a-stylesheet) and [adding images and fonts](#adding-images-fonts-and-files).
583583
This mechanism provides a number of benefits:
584584

585585
* Scripts and stylesheets get minified and bundled together to avoid extra network requests.
@@ -619,7 +619,7 @@ Keep in mind the downsides of this approach:
619619

620620
### When to Use the `public` Folder
621621

622-
Normally we recommend importing [stylesheets](#adding-a-stylesheet), [images, and fonts](#adding-images-and-fonts) from JavaScript.
622+
Normally we recommend importing [stylesheets](#adding-a-stylesheet), [images, and fonts](#adding-images-fonts-and-files) from JavaScript.
623623
The `public` folder is useful as a workaround for a number of less common cases:
624624

625625
* You need a file with a specific name in the build output, such as [`manifest.webmanifest`](https://developer.mozilla.org/en-US/docs/Web/Manifest).

0 commit comments

Comments
 (0)