riot-starter/app/tags/about.tag.html

24 lines
838 B
HTML

<About>
<section>
<h3>RiotJS</h3>
<blockquote class="block"><code>version: 3.x</code> </blockquote>
</section>
<section>
<h3>Routing</h3>
<p>
By default <code>riot-route</code> is included in this starter kit, but can easily be replaced
with your own solution. This is just an example.
Links are prefiex with a hash <code>#</code>, so the about page becomes
<code>href="#/about"</code>
You can see how that translates in the browser bar of this page
</p>
<blockquote class="blockquote">
Normally, routes are stored in a <code>routes.js</code> file; for simplicity
this example defines them in the <code>app/app.js</code>.
</blockquote>
</section>
</About>