Razzle loadable-components Example
How to use
Download the example or clone the whole project:
curl https://codeload.github.com/jaredpalmer/razzle/tar.gz/next | tar -xz --strip=2 razzle-next/examples/with-loadable-componentscd with-loadable-components
Install it and run:
yarn installyarn start
Idea behind the example
This sample has the full SSR setup as described in the loadable-components docs. It demonstrates simple dynamic imports using loadable-components on top of SSR with razzle.