GithubHelp home page GithubHelp logo

janosh / svelte-algolia Goto Github PK

View Code? Open in Web Editor NEW
34.0 3.0 2.0 610 KB

Svelte plugin for keeping Algolia indices in sync with custom data fetching functions.

Home Page: https://janosh.github.io/svelte-algolia

License: MIT License

JavaScript 3.19% Shell 0.47% Svelte 35.63% HTML 4.49% CSS 13.80% TypeScript 42.41%
svelte algolia search static-site instantsearch esmodule

svelte-algolia's People

Contributors

janosh avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

svelte-algolia's Issues

Support for refinement list, pagination, and state results components

I am in the process of migrating an Algolia search build with react-instantsearch-dom / react components to Svelte. The README.md does not look like this library supports refinement list, pagination, and state results components.

Here are some of the documentation of the widgets that I am looking for:

Any plans to support these components in the near future?

How do I stop it going out of focus?

Great work on the utility!

One question: How do I keep it open all the time?

aka I want to avoid the behaviour of needing to click on the search icon to expand it and more importantly that it stays like that when out of focus?

Error using in SvelteKit?

Hi @janosh !

It's amazing that you made this package! I however can't get it to work with SvelteKit. I made a minimal site from scratch to replicate the issue: https://github.com/kenjonespizza/svelteKit-svelte-algolia-test (I kept the .env in there to assist). the site builds without error, but errors out in Dev mode.

The Error
It's one of those SvelteKit SSR Module errors I've seen times before but can never figure out how to actually fix, since the problem seems to be with the external package. I also messed around with the Vite config options... but once again can't find one that solved this for me. Below is a log of the main issue. Also attached is an image of my terminal log incase that easier to read.

[vite] Error when evaluating SSR module /node_modules/.pnpm/[email protected]/node_modules/algoliasearch/lite.js?v=f431d156: ReferenceError: module is not defined

Thanks!

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.