Is SSR support for Nuxt 3 planned ?
See original GitHub issueSSR for Nuxt 3 ⚡️
What is your use case for such a feature?
As Nuxt 3 is currently in Release Candidate version and its stable version is planned for “midsummer 2022” (see here), is the support of SSR with <AisInstantSearchSsr>
planned ?
From what I have been able to test so far, using <AisInstantSearch>
for client-side rendering seems to work well with Nuxt 3. However, when implementing SSR as shown in the Algolia documentation, using <AisInstantSearchSsr>
does not work. I guess that createRootMixin
and/or some other parts will have to be adapted to the new Nuxt 3 prerequisites.
What is your proposal
I’m not so familiar with InstantSearch or Nuxt low-level concepts but if there is any way I can help, I would 😃
What is the version you are using?
v4.3.3
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Nuxt 3 Release Candidate · Discussion #3447 - GitHub
We are planning to initiate a fresh rewrite of Auth module based on session support and composables from Nuxt 3. It is included...
Read more >How To Use Server-Side Rendering with Nuxt.js - DigitalOcean
Nuxt.js is a framework for Vue.js applications that can solve this problem with server-side ... Rendering mode: Universal (SSR / SSG) ?
Read more >Nuxt Server Side Rendering vs Pre-rendering
To build your Nuxt project using Server Side Rendering (SSR) you need to ensure your target is server in your Nuxt config file....
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 >Nuxt 3 Stable Launch – All the details from Nuxt Nation 2022
This makes Nuxt 3 a powerful web framework to build any modern website. Bridging single page applications (SPAs) and Server-Side Rendered (SSR) ...
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 @Haroenv , thanks for the quick answer.
As I was working on a private project that I couldn’t share, I took a moment to reproduce a project that is close to reality on CodeSandbox. You can find it here : https://codesandbox.io/s/nuxt-3-instantsearch-test-9c7oj5?file=/app.vue.
So here is the current state:
createServerRootMixin
inapp.vue
to get InstantSearch working in the whole app, layouts included, the server starts and logs the following error:index.vue
page, removing thelayouts
andapp.vue
. With this setup, the server does not start but does not display any error, neither in the terminal nor in the frontend consoleHope this can help you!
No, I haven’t yet made an example. If you do, please share in this thread 😃