plash&quot;: Splash,
    &quot;/hello&quot;: Hello,
})
</code></pre>
<p>The <code>m.route</code> function still has the same auto-redrawing functionality that <code>m.mount</code> does, and it also enables URL awareness; in other words, it lets Mithril know what to do when it sees a <code>#!</code> in the URL.</p>
<p>The <code>&quot;/splash&quot;</code> right after <code>root</code> means that&#39;s the default route, i.e. if the hashbang in the URL doesn&#39;t point to one of the defined routes (<code>/spl