ies">strategy</a> used by the router.</p>
<pre><code class="language-javascript">// set to pathname strategy
m.route.prefix(&quot;&quot;)

// set to querystring strategy
m.route.prefix(&quot;?&quot;)

// set to hash without bang
m.route.prefix(&quot;#&quot;)

// set to pathname strategy on a non-root URL
// e.g. if the app lives under `http://localhost/my-app` and something else lives under `http://localhost`
m.route.prefix(&quot;/my-app&quot;)</code></pre>
<hr>
<h3 id="advanced-component-resolution"><a hre