FW7+Vue PWA - Routing to Component via URL

FW7+Vue PWA, I am trying to create a page where users are being taken after clicking a link. It is basically an invitation link that will be sent via email, and the link will contain a code that will be then passed to a component, User will then fill out the form and register.
Currently, my router is very basic, I was simply extending the default installed tabbed view:
var routes = [
{
path: ‘/’,
component: HomePage,
},
{
path: ‘/Invite/’,
component: InvitePage,
},
{
path: ‘(.*)’,
component: NotFoundPage,
},
];

However, whenever I try to navigate to the Invite page by typing http://127.0.0.1:3000/Invite/ I am never routed to the InvitePage, I am getting to the Home instead. As a matter of fact, any path entered will always take me home. I am sure it’s something very basic but I still try to get my mind wrapped by the (excellent) intricacies of FW7. Can anyone lend a helping hand? Thanks

Did you enable browserHistory parameter on main View?

2 Likes

Thank you. That worked.

1 Like