choojs / choojs/nanorouter

Mounting on a sub-path

Open
#14 4 comments 0 reactions 0 assignees View on GitHub
Priority: High
Dominant language
JavaScript
Stars
117
Forks
12
PR merge metrics
No merged PRs in 30d

Description

When trying to use choo on a static site hosted by Github pages, the app lives on a subpath (like `https://tnguyen14.github.io/projectname/my-app`. This is breaking the router, as it doesn't match the route that I define in the app (which assumes the app lives at the root domain).

Is there a way to take this into account?

/cc @yoshuawuyts

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.