-
Notifications
You must be signed in to change notification settings - Fork 157
Nuxt Ais-Hierarchical-Menu SSR problem. #870
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 |
Hi @Haroenv The problem about was solve with version "vue-instantsearch": "^3.3.0" But now with "vue-instantsearch": "^3.4.1" Error: TypeError: can't access property "length", e.items is undefined With "vue-instantsearch": "^3.3.0" Araldo Fidalgo |
Hi, @Haroenv "vue-instantsearch": "^3.4.2", if i remove the i18n plugin, and use only the store to get info TypeError: can't access property "_state", r is undefined Araldo Fidalgo |
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%20InstantSearch/server-side-rendering |
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
The text was updated successfully, but these errors were encountered: