Commit 38a1f27e authored by Ville Immonen's avatar Ville Immonen Committed by GitHub
Browse files

Tweak readme

parent feb6036f
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -885,7 +885,7 @@ Open your `package.json` and add a `homepage` field: ...@@ -885,7 +885,7 @@ Open your `package.json` and add a `homepage` field:
**The above step is important!**<br> **The above step is important!**<br>
Create React App uses the `homepage` field to determine the root URL in the built HTML file. Create React App uses the `homepage` field to determine the root URL in the built HTML file.
Now, whenever you run `npm run build`, you will see a cheat sheet with instructions on how to deploy to GitHub pages: Now, whenever you run `npm run build`, you will see a cheat sheet with instructions on how to deploy to GitHub pages.
To publish it at [http://myusername.github.io/my-app](http://myusername.github.io/my-app), run: To publish it at [http://myusername.github.io/my-app](http://myusername.github.io/my-app), run:
...@@ -941,7 +941,7 @@ With this setup Netlify will build and deploy when you push to git or open a pul ...@@ -941,7 +941,7 @@ With this setup Netlify will build and deploy when you push to git or open a pul
2. Pick your Git hosting service and select your repository 2. Pick your Git hosting service and select your repository
3. Click `Build your site` 3. Click `Build your site`
**Support for client site routing:** **Support for client-side routing:**
To support `pushState`, make sure to create a `public/_redirects` file with the following rewrite rules: To support `pushState`, make sure to create a `public/_redirects` file with the following rewrite rules:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment