文件名称:流星轻松搜索:使用Blaze Components易于使用的流星搜索
文件大小:67KB
文件格式:ZIP
更新时间:2024-03-11 12:52:21
search meteor meteor-package blaze-components JavaScript
简易搜索 Easy Search是一种简单而灵活的解决方案,用于在Meteor App中添加搜索功能。 使用Blaze Components + Javascript API。 import { Index , MinimongoEngine } from 'meteor/easy:search' // On Client and Server const Players = new Mongo . Collection ( 'players' ) const PlayersIndex = new Index ( { collection : Players , fields : [ 'name' ] , engine : new MinimongoEngine ( ) , } ) // On Client Template . searchBox . helpers (
【文件预览】:
meteor-easy-search-master
----.travis.yml(212B)
----.eslintrc.yml(6KB)
----package.json(1KB)
----LICENSE(1KB)
----inch.json(70B)
----.coveralls.yml(71B)
----.gitignore(68B)
----UPGRADE-2.0.md(4KB)
----.codeclimate.yml(371B)
----README.md(2KB)
----.eslintignore(16B)
----scripts()
--------test-packages.sh(103B)
--------publish.sh(361B)
----packages()
--------easysearch_components()
--------matteodem_easy-search()
--------easysearch_core()
--------easysearch_autosuggest()
--------easysearch_elasticsearch()
--------easy_search()