question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nuxt Ais-Hierarchical-Menu SSR problem.

See original GitHub issue

Bug 🐞

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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Haroenvcommented, Sep 28, 2020

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

0reactions
Haroenvcommented, Oct 8, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found