仿Airbnb及Yelp搜索体验的React组件库 - reactivesearch

2017-02-15      421      JavaScript
项目简介

Reactive Search

用于创建仿 Airbnb / Yelp搜索体验的React组件库。

安装

Installing ReactiveSearch is just one command.

npm i @appbaseio/reactivesearch

也可以在html中添加样式表

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/appbaseio/reactivesearch/master/dist/css/style.min.css">

本地开发

git clone https://github.com/appbasieo/reactivesearch
npm install (or yarn)

在端口8000启动开发服务器

npm start (or yarn start)