Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async asyncData({ params, query }) {
try {
const store = await initReactivesearch(
[
{
...components.datasearch,
source: DataSearch,
},
{
...components.result,
source: ReactiveList,
},
],
query,
components.settings,
);
return {
store,
};