Skip to content

Commit

Permalink
router fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vilgacx committed Sep 5, 2023
1 parent 5cefd47 commit c5c2ab9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ <h3>a minimal, cute, super-lightweight javascript framework.</h3>
</div>
<div class="links-div bordered spaced">
<a href="https://github.com/vilgacx/kobenii">github</a>
<a href="/" route>about</a>
<a href="/#/installation" route>installation</a>
<a href="/kobenii/" route>about</a>
<a href="/kobenii/#/installation" route>installation</a>
<a href="https://github.com/vilgacx/kobenii/blob/main/README.md#usage">usage</a>
<a href="/#/license" route>LICENSE</a>
<a href="/kobenii/#/license" route>LICENSE</a>
</div>
<route class="route spaced" />
</span>
<script type="module">
import { Init, Route, Component } from './index.min.js';
Init();
Route('route', {
'/': './routes/about.html',
'/#/installation': './routes/installation.html',
'/#/license': './routes/license.html'
'/kobenii/': './routes/about.html',
'/kobenii/#/installation': './routes/installation.html',
'/kobenii/#/license': './routes/license.html'
});
Component('.counter', './components/counter.html');
</script>
Expand Down

0 comments on commit c5c2ab9

Please sign in to comment.