 that references it:</p>
<pre><code class="lang-javascript">// src/index.js
var m = require(&quot;mithril&quot;)

var UserList = require(&quot;./views/UserList&quot;)
var UserForm = require(&quot;./views/UserForm&quot;)

m.route(document.body, &quot;/list&quot;, {
    &quot;/list&quot;: UserList,
    &quot;/edit/:id&quot;: UserForm,
})
</code></pre>
<p>Notice that the new route has a <code>:id</code> in it. This is a route parameter; you can think of it as a wild card; the route <code>/edit/1</code> would r