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

router is not working #1

Open
mh-firouzjah opened this issue Dec 12, 2022 · 0 comments
Open

router is not working #1

mh-firouzjah opened this issue Dec 12, 2022 · 0 comments

Comments

@mh-firouzjah
Copy link

Hi there
I was trying to use router in a page but it doesn't work well.
as I reviewed the router.js file in this repo it seems this file is not compatible with the documentation, for example documentations says we have to use:
<a href="/customers" point-route-container="body" point-route-html="/customers.html" point-route-json="/customers.json"> Customers </a>, all atters name starts with point but inside the router.js it searches for names starting with dom, and if we fix it then another issue raises Uncaught TypeError: point.loadHTML is not a function at HTMLAnchorElement.
so do you have any idea, how I have to use the router?

  • if it is required I could send the html file that I was working with.
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