Download the example or clone the whole project:
curl https://codeload.github.com/jaredpalmer/razzle/tar.gz/master | tar -xz --strip=2 razzle-master/examples/with-react-loadable
cd with-react-loadable
Install it and run:
yarn install
yarn start
This sample has the full SSR setup as described in the react-loadable docs. It demonstrates simple dynamic imports using react-loadable on top of SSR with razzle.