Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Issue with Hash Router #448

Open
ankur-vunet opened this issue Aug 13, 2024 · 1 comment
Open

Build Issue with Hash Router #448

ankur-vunet opened this issue Aug 13, 2024 · 1 comment

Comments

@ankur-vunet
Copy link

When I am using hash router, I am unable to create the build with this plugin. Any workaround for making search with this plugin work with hash router?

@weareoutman
Copy link
Member

weareoutman commented Aug 13, 2024

I'm afraid our plugin won't work with hash router.

Under the hood, we parse all generated html files to build the search index (just like a traditional search engine crawler). However, hash router will compile all page contents into javascript code, which can not be static analyzed.

Maybe it's possible using a headless browser to render the site and crawl the pages by links, but it's not in our plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants