tem</a>:</p>
<pre><code class="language-javascript">m.route(document.body, &quot;/&quot;, {
    &quot;/&quot;: {
        onmatch: function() {
            // using Webpack async code splitting
            return new Promise(function(resolve) {
                require([&#39;./Home.js&#39;], resolve)
            })
        },
    },
})</code></pre>

				<hr />
				<small>License: MIT. &copy; Leo Horie.</small>
			</section>
		</main>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/prism.min.