Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update now instructions to support html5 history #1805

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ When you build the project, Create React App will place the `public` folder cont
3. Add this line to `scripts` in `package.json`:

```
"now-start": "serve build/",
"now-start": "serve --single build/",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use serve -s build for consistency with what we now suggest in CLI?

```

4. Run `now` from your project directory. You will see a **now.sh** URL in your output like this:
Expand Down