loadable-components/examples/server-side-rendering
Lexi Reicks a629cc09b4
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.
2021-01-27 12:45:11 +11:00
..
2018-11-10 18:05:23 +01:00
2018-11-10 18:05:23 +01:00
2018-11-10 18:05:23 +01:00

Get the SSR example running

Steps:

  1. Download repository
git clone https://github.com/gregberge/loadable-components.git
  1. Install https://yarnpkg.com/lang/en/docs/install if haven't already
  2. Install libary dependencies and build library
yarn
yarn build
  1. Move into example directory
cd ./loadable-components/examples/server-side-rendering
  1. Install project dependencies
yarn
  1. Run locally or build and serve
yarn dev

# Or

yarn build
yarn start

🍻