All Projects → meilisearch → meilisearch-vue

meilisearch / meilisearch-vue

Licence: MIT License
www.meilisearch.com/

Projects that are alternatives of or similar to meilisearch-vue

meilisearch-react
www.meilisearch.com/
Stars: ✭ 87 (+8.75%)
Mutual labels:  instantsearch, meilisearch
unified-instantsearch-ecommerce
The fastest way to implement Algolia, for e-commerce customers.
Stars: ✭ 26 (-67.5%)
Mutual labels:  instantsearch
meilisearch-go
Golang wrapper for the Meilisearch API
Stars: ✭ 200 (+150%)
Mutual labels:  meilisearch
algolia.github.io
Algolia's community projects
Stars: ✭ 12 (-85%)
Mutual labels:  instantsearch
product
Public feedback and ideation discussions for Meilisearch product 🔮
Stars: ✭ 26 (-67.5%)
Mutual labels:  meilisearch
showcase-books-search
A site to instantly search 28M books from OpenLibrary using Typesense Search (an open source alternative to Algolia / ElasticSearch) ⚡ 📚 🔍
Stars: ✭ 117 (+46.25%)
Mutual labels:  instantsearch
docs-searchbar.js
Front-end search bar for documentation with Meilisearch
Stars: ✭ 128 (+60%)
Mutual labels:  meilisearch
meilisearch-dart
The Meilisearch API client written for Dart
Stars: ✭ 48 (-40%)
Mutual labels:  meilisearch
milli
Search engine library for Meilisearch ⚡️
Stars: ✭ 433 (+441.25%)
Mutual labels:  meilisearch
mongomeili
Keep your Mongoose Schemas synced with MeiliSearch
Stars: ✭ 33 (-58.75%)
Mutual labels:  meilisearch
Instantsearch.js
⚡️ A JavaScript library for building performant and instant search experiences with Algolia.
Stars: ✭ 2,799 (+3398.75%)
Mutual labels:  instantsearch
Typesense
Fast, typo tolerant, fuzzy search engine for building delightful search experiences ⚡ 🔍 ✨ An Open Source alternative to Algolia and an Easier-to-Use alternative to ElasticSearch.
Stars: ✭ 8,644 (+10705%)
Mutual labels:  instantsearch
svelte-algolia
Svelte plugin for keeping Algolia indices in sync with custom data fetching functions.
Stars: ✭ 17 (-78.75%)
Mutual labels:  instantsearch
musicologist
Music advice from a conversational interface powered by Algolia
Stars: ✭ 19 (-76.25%)
Mutual labels:  instantsearch
create-instantsearch-app
⚡️ Build InstantSearch apps at the speed of thought
Stars: ✭ 92 (+15%)
Mutual labels:  instantsearch
meilisearch-dotnet
.NET wrapper for the Meilisearch API
Stars: ✭ 66 (-17.5%)
Mutual labels:  meilisearch

Meilisearch-Vue

Meilisearch Vue

Meilisearch | Documentation | Slack | Roadmap | Website | FAQ

License

How to integrate a front-end search bar in your Vue application using Meilisearch

Meilisearch is an open-source search engine. Discover what Meilisearch is!

This repository describes the steps to integrate a relevant front-end search bar with a search-as-you-type experience!

Installation

To integrate a front-end search bar, you need to install two packages:

  • the open-source Vue InstantSearch library powered by Algolia that provides all the front-end tools you need to highly customize your search bar environment.
  • the Meilisearch client instant-meilisearch to establish the communication between your Meilisearch instance and the Vue InstantSearch library.
    Instead of reinventing the wheel, we have opted to reuse the InstantSearch library for our own front-end tooling. We will contribute upstream any improvements that may result from our adoption of InstantSearch.

Run:

yarn add vue-instantsearch @meilisearch/instant-meilisearch
# or
npm install vue-instantsearch @meilisearch/instant-meilisearch

NB: If you don't have any Meilisearch instance running and containing your data, you should take a look at this getting started page.

Getting Started

In the main.js file:

import Vue from 'vue';
import App from './App.vue';
import InstantSearch from 'vue-instantsearch';

Vue.use(InstantSearch);

new Vue({
  el: '#app',
  render: h => h(App),
});

In the App.vue file:

<template>
  <ais-instant-search :search-client="searchClient" index-name="steam-video-games">
    <ais-search-box />
    <ais-hits>
      <div slot="item" slot-scope="{ item }">
        <h2>{{ item.name }}</h2>
      </div>
    </ais-hits>
  </ais-instant-search>
</template>

<script>
import { instantMeiliSearch } from '@meilisearch/instant-meilisearch';

export default {
  data() {
    return {
      searchClient: instantMeiliSearch(
        "https://integration-demos.meilisearch.com",
        "q7QHwGiX841a509c8b05ef29e55f2d94c02c00635f729ccf097a734cbdf7961530f47c47"
      ),
    };
  },
};
</script>

<style>
body {
  font-family: sans-serif;
  padding: 1em;
}
</style>

🚀 For a full getting started example, please take a look at this CodeSandbox:

Edit MS + Vue-IS

💡 If you have never used Vue InstantSearch before, we recommend reading this getting started documentation.

Customization and Documentation

Demos

Each demo in this repository comes with a README.md explaining how to launch and use it. You can find the demos in the examples directory.


Meilisearch provides and maintains many SDKs and Integration tools like this one. We want to provide everyone with an amazing search experience for any kind of project. If you want to contribute, make suggestions, or just know what's going on right now, visit us in the integration-guides repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].