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 fixtures/packaging/README.md #14320

Merged
merged 1 commit into from
Nov 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 5 additions & 15 deletions fixtures/packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,18 @@ First, build React and the fixtures:
```
cd react
npm run build

cd fixtures/packaging
node build-all.js
node fixtures/packaging/build-all.js
```

Then run a local server at the root of the repo, e.g.
Then run a local server, e.g.

```
npm i -g pushstate-server
cd ../..
pushstate-server .
npx pushstate-server .
```

(Too complicated? Send a PR to simplify this :-)).

Then open the following URL in your browser:

```
open http://localhost:9000/fixtures/packaging/index.html
```
and open the following URL in your browser: [http://localhost:9000/fixtures/packaging/index.html](http://localhost:9000/fixtures/packaging/index.html)

You should see two things:

* "Hello World" is rendered in each iframe.
* A number of iframes (corresponding to various builds), with "Hello World" rendered in each iframe.
* No errors in the console.