<div id="shell"> <header><!-- ... --></header> <aside><!-- ... --></aside> </div> <script> require.undef('shell'); // Note that the bundle url is dynamically injected from the asset manifest define("shell", ["/shell.bundle.js"], function(s) { return s.api }); </script>