Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const path = vm.router.generate("myRoute", { id: "12345" });
- document.location.href = `/${path}`;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement