algolia / vue-instantsearch

👀 Algolia components for building search UIs with Vue.js

Home Page:https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updated SSR Nuxt documentation

Maigaard opened this issue · comments

I've noticed that the documentation for using server-side rendering with Nuxt has been updated to use the standard implementation of Mixins and remove the Provide hook.

But it doesn't mention how to handle routing, and i don't have the access to the context when using Mixins. Then when I look up routing with Nuxt it still uses the old implementation.

Is it possible to use routing with the new implementation or should we just use the old implementation in the data hook?

Unfortunately the Vue Router isn't accessible as an argument to the mixin, so you'll be forced to follow the routing guide. Sorry!

Figured as much, but wanted to be sure.
Thanks.