Skip to content

Commit

Permalink
replaced router to Navigo as PageJS didn't work properly for clicking…
Browse files Browse the repository at this point in the history
…/reloading
  • Loading branch information
vinyll committed Jun 12, 2024
1 parent 02bea52 commit 2efb841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bricks/x-app.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script>
import page from "/assets/vendors/page.js"
const router = new Navigo("/")

const state = {
currentPage: '',
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<meta charset=utf8>
<title>TCI VOD — Know Yourself</title>

<script src="//unpkg.com/navigo"></script>
<link rel="stylesheet" href="/assets/css/main.css" />
<link rel="stylesheet" href="/assets/vendors/shoelace/shoelace-light.css" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/[email protected]/cdn/shoelace.js"></script>
Expand Down

0 comments on commit 2efb841

Please sign in to comment.