Looking to integrate Algolia into my Nuxt.js WebApp and came across a helpful example in the official Algolia documentation here
I've managed to display all the records successfully: see image here
However, I'm experiencing issues with the search-box and pagination functionalities. I suspect the problem might lie within my plugins/index.js
This is what my code currently looks like:
import InstantSearch from 'vue-instantsearch';
export default {
install(Vue) {
Vue.use(InstantSearch);
}
};
but I keep receiving the following error message:
Could not find a declaration file for module 'vue-instantsearch'. 'node_modules/vue-instantsearch/dist/vue-instantsearch.common.js' implicitly has an 'any' type.
Try `npm install @types/vue-instantsearch` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-instantsearch';`
I'm struggling to understand why this isn't working as expected.
If anyone could offer assistance, it would be greatly appreciated!
Thank you!