You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you previously had issues with an `Invalid Host Header` error, [follow these new instructions](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#invalid-host-header-errors-after-configuring-proxy) to fix it.
1368
+
If you previously had issues with an `Invalid Host Header` error, [follow these new instructions](https://github.com/facebook/create-react-app/blob/main/packages/react-scripts/template/README.md#invalid-host-header-errors-after-configuring-proxy) to fix it.
1369
1369
1370
1370
## 1.0.1 (May 19, 2017)
1371
1371
@@ -1572,7 +1572,7 @@ If you still have the problem please file an issue.
1572
1572
1573
1573
Unhandled Promise rejections will now crash tests. You can fix them by explicitly catching the errors you don’t care about.
1574
1574
1575
-
#### How to turn my app into a [Progressive Web App](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app)?
1575
+
#### How to turn my app into a [Progressive Web App](https://github.com/facebook/create-react-app/blob/main/packages/react-scripts/template/README.md#making-a-progressive-web-app)?
1576
1576
1577
1577
After the regular update procedure above, add these line to `<head>` in `public/index.html`:
1578
1578
@@ -1588,9 +1588,7 @@ After the regular update procedure above, add these line to `<head>` in `public/
1588
1588
Add `<noscript>` to `<body>` in `public/index.html`:
1589
1589
1590
1590
```html
1591
-
<noscript>
1592
-
You need to enable JavaScript to run this app.
1593
-
</noscript>
1591
+
<noscript> You need to enable JavaScript to run this app. </noscript>
1594
1592
```
1595
1593
1596
1594
Then create a file called `public/manifest.json` that looks like this:
Copy file name to clipboardExpand all lines: CHANGELOG-3.x.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -330,7 +330,7 @@ v3.3.0 is a minor release that adds new features, including custom templates and
330
330
331
331
You can now create a new app using custom templates.
332
332
333
-
We've published our existing templates as [`cra-template`](https://github.com/facebook/create-react-app/tree/master/packages/cra-template) and [`cra-template-typescript`](https://github.com/facebook/create-react-app/tree/master/packages/cra-template-typescript), but we expect to see many great templates from the community over the coming weeks.
333
+
We've published our existing templates as [`cra-template`](https://github.com/facebook/create-react-app/tree/main/packages/cra-template) and [`cra-template-typescript`](https://github.com/facebook/create-react-app/tree/main/packages/cra-template-typescript), but we expect to see many great templates from the community over the coming weeks.
334
334
335
335
The below command shows how you can create a new app with `cra-template-typescript`.
This package is the heart of the project, which contains the scripts for setting up the development server, building production builds, configuring all software used, etc.<br>
89
89
All functionality must be retained (and configuration given to the user) if they choose to eject.
@@ -163,7 +163,7 @@ Make sure to test the released version! If you want to be extra careful, you can
163
163
1. Go to the `docusaurus/website` directory
164
164
2. Run `yarn build`
165
165
3. You'll need an [access token for the GitHub API](https://help.github.com/articles/creating-an-access-token-for-command-line-use/). Save it to this environment variable: `export GITHUB_AUTH="..."`
166
-
4. Run `GIT_USER=<GITHUB_USERNAME> CURRENT_BRANCH=master USE_SSH=true yarn deploy`
166
+
4. Run `GIT_USER=<GITHUB_USERNAME> CURRENT_BRANCH=main USE_SSH=true yarn deploy`
@@ -217,4 +217,4 @@ We are grateful to the authors of existing related projects for their ideas and
217
217
218
218
## License
219
219
220
-
Create React App is open source software [licensed as MIT](https://github.com/facebook/create-react-app/blob/master/LICENSE). The Create React App logo is licensed under a [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by/4.0/).
220
+
Create React App is open source software [licensed as MIT](https://github.com/facebook/create-react-app/blob/main/LICENSE). The Create React App logo is licensed under a [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by/4.0/).
Copy file name to clipboardExpand all lines: docusaurus/docs/adding-a-sass-stylesheet.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This will allow you to do imports like
34
34
35
35
`sass` also supports the `SASS_PATH` variable.
36
36
37
-
To use imports relative to a path you specify, you can add a [`.env` file](https://github.com/facebook/create-react-app/blob/master/docusaurus/docs/adding-custom-environment-variables.md#adding-development-environment-variables-in-env) at the project root with the path specified in the `SASS_PATH` environment variable. To specify more directories you can add them to `SASS_PATH` separated by a `:` like `path1:path2:path3`.
37
+
To use imports relative to a path you specify, you can add a [`.env` file](https://github.com/facebook/create-react-app/blob/main/docusaurus/docs/adding-custom-environment-variables.md#adding-development-environment-variables-in-env) at the project root with the path specified in the `SASS_PATH` environment variable. To specify more directories you can add them to `SASS_PATH` separated by a `:` like `path1:path2:path3`.
38
38
39
39
> **Note:** For the Windows operating system, separate your paths by semicolons.
40
40
>
@@ -65,4 +65,4 @@ To use imports relative to a path you specify, you can add a [`.env` file](https
However, you can find many great community templates by searching for ["cra-template-\*"](https://www.npmjs.com/search?q=cra-template-*) on npm.
26
26
27
27
## Building a template
28
28
29
-
If you're interested in building a custom template, first take a look at how we've built [`cra-template`](https://github.com/facebook/create-react-app/tree/master/packages/cra-template).
29
+
If you're interested in building a custom template, first take a look at how we've built [`cra-template`](https://github.com/facebook/create-react-app/tree/main/packages/cra-template).
0 commit comments