项目作者: algolia

项目描述 :
[DEPRECATED] Sample templates for InstantSearch projects
高级语言: HTML
项目地址: git://github.com/algolia/instantsearch-templates.git
创建时间: 2018-01-15T13:20:51Z
项目社区:https://github.com/algolia/instantsearch-templates

开源协议:

下载


⚠️ DEPRECATED

This repository has been replaced by Create InstantSearch App.
This is a command-line tool to bootstrap InstantSearch applications and that creates templates usable on CodeSandbox.

Find all templates in the templates branch.

InstantSearch templates

Table of Contents generated with DocToc

What is this?

This repository holds a set of starter templates for all the projects of the InstantSearch team at Algolia.

All the templates are displaying the same search UI:
demo

The JavaScript client and helper templates are not full search UIs because we do
not recommend you to use them for that. But we still provide quick templates for those
so that you can demonstrate bugs when needed.

Goal

The goal is to use those templates in any situation where:

  • as a user, you want to showcase us some code example
  • as a user, you want to showcase us a bug in our libraries
  • as a contributor, you want to ask a user to show us a bug
  • you just want to kickstart a demo
  • those templates are also linked inside our GitHub issue templates

This repository is automatically linked to CodeSandbox, so all
examples are available inside a nice online code editor with live preview.

If the repository is updated, the online examples will be updated too, very handy!

Here are the CodeSandbox links for all projects:

Running examples locally

Requirements:

  1. cd ~/Dev
  2. git clone git@github.com:algolia/instantsearch-templates.git
  3. cd instantsearch-templates
  4. yarn
  5. yarn isjs # InstantSearch.js
  6. yarn ris # React InstantSearch
  7. yarn ais # Angular InstantSearch
  8. yarn vis # Vue InstantSearch
  9. yarn ajs # Autocomplete.js
  10. yarn jsclient # JavaScript client
  11. yarn jshelper # JavaScript helper