Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $ create-instantsearch-app --help
--app-id <appId> The application ID
--api-key <apiKey> The Algolia search API key
--index-name <indexName> The main index of your search
--main-attribute <mainAttribute> The main searchable attribute of your index
--attributes-to-display <attributesToDisplay> The attributes of your index to display
--attributes-for-faceting <attributesForFaceting> The attributes for faceting
--template <template> The InstantSearch template to use
--library-version <libraryVersion> The version of the library
Expand Down Expand Up @@ -110,7 +110,7 @@ The `config` flag is handy to automate app generations.
"apiKey": "MY_API_KEY",
"indexName": "MY_INDEX_NAME",
"searchPlaceholder": "Search",
"mainAttribute": "name",
"attributesToDisplay": ["name", "description"],
"attributesForFaceting": ["brand", "location"]
}
```
Expand All @@ -131,7 +131,7 @@ const createInstantSearchApp = require('create-instantsearch-app');
const app = createInstantSearchApp('~/lab/my-app', {
template: 'InstantSearch.js',
libraryVersion: '2.0.0',
mainAttribute: 'name',
attributesToDisplay: ['name', 'description'],
attributesForFaceting: ['keywords'],
});

Expand Down
Loading