Nuxt Ais-Hierarchical-Menu SSR problem.
See original GitHub issueBug 🐞
What is the current behavior?
if i refresh the search the page that have a ais-hierarchical-menu and nuxt-link
Make a sandbox with the current behavior
https://codesandbox.io/s/nuxt-algolia-ais-hierarchical-menu-ssr-p25jn?file=/pages/search.vue
What is the expected behavior?
Does this happen only in specific situations?
if i remove the following line:
<nuxt-link to="x">Home</nuxt-link>
it start working?
What is the version you are using?
in my myproject: “algoliasearch”: “^4.5.1”, “nuxt”: “^2.14.5”, “vue”: “^2.6.12”, “vue-instantsearch”: “^3.2.0”,
do i have to use asyncData() for createServerRootMixin ? it is a good choise to make mixin plugin for createServerRootMixin ?
i did Open Q&A in https://discourse.algolia.com/t/anchor-tag-in-hierarchical-menu/10892/5
Araldo Fidalgo
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Nuxt: ais-instant-search-ssr + ais-hierarchical-menu · Issue #626
After updating vue-instantsearch to ^2, I'm unable to get in sync with the component ais-hierarchical-menu . For upgrading, I've followed the ...
Read more >Anchor tag in hierarchical-menu - Algolia Community
nuxt-algolia-ais-hierarchical-menu - CodeSandbox ... when I refresh the page it gives me the error: “Cannot read property 'data' of undefined”. in my project...
Read more >Server Side Rendering - Nuxt
Server-side rendering (SSR), is the ability of an application to contribute by displaying the web-page on the server instead of rendering it in...
Read more >@nuxtjs/bootstrap-vue examples - CodeSandbox
Learn how to use @nuxtjs/bootstrap-vue by viewing and forking example apps that make use of @nuxtjs/bootstrap-vue on CodeSandbox.
Read more >Problems With Server-Side Plugins in Nuxt.js
When you use server-side rendering in Nuxt, you can create highly dynamic and performant experiences. But, it relies on a node server which...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @lacral, what a coincidence, this issue is also solved in the latest version via the PR #863 and in version 3.3.0: https://codesandbox.io/s/nuxt-algolia-ais-hierarchical-menu-ssr-forked-5vysc
can you make a new issue with reproduction please @lacral? We have a starter available here: https://codesandbox.io/s/github/algolia/doc-code-samples/tree/master/Vue InstantSearch/server-side-rendering