Skip to content

router is not working #1

@matikhi

Description

@matikhi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions