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

docs: using vue-instantsearch with ssr #143

Merged
merged 2 commits into from Apr 12, 2023
Merged

Conversation

Laruxo
Copy link
Contributor

@Laruxo Laruxo commented Apr 4, 2023

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Adds documentation on using vue-instantsearch with SSR in Nuxt 3.

Resolve #132

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

@nuxt-studio
Copy link

nuxt-studio bot commented Apr 4, 2023

Live Preview ready!

Name Edit Preview Latest Commit
Algolia Edit on Studio ↗︎ View Live Preview 00a1c1f

@Baroshem
Copy link
Collaborator

Baroshem commented Apr 6, 2023

Hey @Laruxo

Could you add here the recommendations from Haroenv? I would like to merge this PR to the upcoming 1.6.0 version of the module :)

@Laruxo
Copy link
Contributor Author

Laruxo commented Apr 6, 2023

After the comment from Haroenv, I found that this solution only works for very simple cases. I am still debugging to understand how to make it work with refinements and initial UI state.

@Baroshem
Copy link
Collaborator

Baroshem commented Apr 6, 2023

Ok, thanks for the heads up! I will await further docs section then.

Kudos to you! 🍪

@Laruxo
Copy link
Contributor Author

Laruxo commented Apr 6, 2023

@Baroshem this is the latest working version. I don't like how it looks, but I hope that somebody with more Vue/Nuxt knowledge will find a better alternative soon.

@Baroshem
Copy link
Collaborator

Hey @Laruxo

Thank you very much for the documentation about it!

I think for now we can have this intruction on how to use Instantsearch with Nuxt on SSR.

@Baroshem Baroshem merged commit 8b52c1a into nuxt-modules:main Apr 12, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

Nuxt 3 Instantsearch SSR
2 participants