ui-element-samples

Code Splitting

This is mostly the code from the server-side-rendering sample. We have added build.js to perform code splitting and route-based chunking.

Run npm install to install all dependencies. Run node build.js and then run the server with node index.js.