Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "router.base" not work! #298

Open
Suomm opened this issue Dec 23, 2021 · 1 comment
Open

Bug: "router.base" not work! #298

Suomm opened this issue Dec 23, 2021 · 1 comment

Comments

@Suomm
Copy link

Suomm commented Dec 23, 2021

router: {
  mode: "history",
  base: "/app/"
}
@Suomm
Copy link
Author

Suomm commented Dec 23, 2021

Configuration in my index.html :

new Docute({
    router: {
      mode: "history",
      base: "/app/"
    }
})

The base URL of the app. For example, if the entire single page application is served under /app/, then base should use the value "/app/". But it doesn't work. Oh, my poor English.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant