Skip to content
Discussion options

You must be logged in to vote

Um, there's a lot of stuff wrong here.

The paragraph on hash routing is the only correct thing, and is probably the cause of your problems. See WXTs docs: https://wxt.dev/guide/essentials/frontend-frameworks.html#configuring-routers

Manually handle query parameters

Should not be necessary, all the router libraries should work just fine in hash mode.

Use WXT's defineRoute helper function

WXT doesn't have a defineRoute util, and the example doesn't even use it. The routes config in the example doesn't exist either.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@npearson72
Comment options

@aklinker1
Comment options

Answer selected by npearson72
@npearson72
Comment options

@aklinker1
Comment options

@npearson72
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants