Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

fix(ssr): forward slots of the AisInstantSearchSsr component #898

Merged
merged 5 commits into from
Dec 18, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/util/createServerRootMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ function augmentInstantSearch(instantSearchOptions, searchClient, indexName) {
propsData: componentInstance.$options.propsData,
});

// https://stackoverflow.com/a/48195006/3185307
app.$slots = componentInstance.$slots;
Haroenv marked this conversation as resolved.
Show resolved Hide resolved

app.$options.serverPrefetch = [];

app.instantsearch.helper = helper;
Expand Down