Skip to content

Commit 5b86435

Browse files
root bug fixed
1 parent b0791fd commit 5b86435

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/singlight.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class Reactive { // reactivity class
148148
}
149149

150150
class Router { // create router
151+
root = "";
151152
constructor() {
152153
this.routes = [] // initial routes
153154
this.names = [] // initial names

scripts/singlight.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)