mirror of
https://github.com/gregberge/loadable-components.git
synced 2026-01-18 15:12:26 +00:00
43 lines
540 B
Markdown
43 lines
540 B
Markdown
# Get the SSR example running
|
|
|
|
Steps:
|
|
|
|
1. Download repository
|
|
|
|
```bash
|
|
git clone https://github.com/gregberge/loadable-components.git
|
|
```
|
|
|
|
2. Install [https://yarnpkg.com/lang/en/docs/install](yarn) if haven't already
|
|
3. Install libary dependencies and build library
|
|
|
|
```bash
|
|
yarn
|
|
yarn build
|
|
```
|
|
|
|
4. Move into example directory
|
|
|
|
```bash
|
|
cd ./loadable-components/examples/server-side-rendering
|
|
```
|
|
|
|
5. Install project dependencies
|
|
|
|
```bash
|
|
yarn
|
|
```
|
|
|
|
5. Run locally or build and serve
|
|
|
|
```bash
|
|
yarn dev
|
|
|
|
# Or
|
|
|
|
yarn build
|
|
yarn start
|
|
```
|
|
|
|
🍻
|