Skip to content

Commit a629cc0

Browse files
authored
Include build library step in SSR Example README (#695)
The SSR example doesn't work without building the library, add that as a step for running the example.
1 parent c5f2b14 commit a629cc0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

examples/server-side-rendering/README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,25 @@ Steps:
88
git clone https://github.com/gregberge/loadable-components.git
99
```
1010

11-
2. move into example directory
11+
2. Install [https://yarnpkg.com/lang/en/docs/install](yarn) if haven't already
12+
3. Install libary dependencies and build library
13+
```bash
14+
yarn
15+
yarn build
16+
```
17+
18+
4. Move into example directory
1219

1320
```bash
1421
cd ./loadable-components/examples/server-side-rendering
1522
```
16-
17-
3. install [https://yarnpkg.com/lang/en/docs/install](yarn) if haven't already
18-
4. install project dependencies
23+
5. Install project dependencies
1924

2025
```bash
2126
yarn
2227
```
2328

24-
5. run locally or build and serve
29+
5. Run locally or build and serve
2530

2631
```bash
2732
yarn dev

0 commit comments

Comments
 (0)