Skip to content

Native link by default? #39

Closed Answered by rehhouari
cocochepeau asked this question in Q&A
Jul 10, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hello, I just published version 4.4.0 with the feature you suggested!
It should be working well, since it wasn't that complicated, but it would be great if you could test it out!

Here is the documentation link, but TLDR:

  • Set window.PineconeRouter.settings.interceptLinks = false
  • Put an empty x-link attribute to the link which you want to handle
    • Or alternatively through Javascript using $router.navigate() inside an alpine component or PineconeRouter.context.navigate('/path') anywhere.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@cocochepeau
Comment options

@cocochepeau
Comment options

@rehhouari
Comment options

Answer selected by cocochepeau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants