File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ import instantMeiliSearch from "./instant-meilisearch.js";
1515
1616const searchClient = instantMeiliSearch (
1717 "https://demos.meilisearch.com" ,
18- "dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25"
18+ "dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25" ,
19+ {
20+ paginationTotalHits : 60
21+ }
1922) ;
2023
2124class App extends Component {
@@ -52,7 +55,7 @@ class App extends Component {
5255 < div className = "right-panel" >
5356 < SearchBox />
5457 < Hits hitComponent = { Hit } />
55- < Pagination showLast = { true } />
58+ < Pagination showLast = { true } />
5659 </ div >
5760 </ InstantSearch >
5861 </ div >
Original file line number Diff line number Diff line change 4141 </ais-hits >
4242
4343 <ais-pagination :padding =" 4" />
44+
45+ <ais-configure
46+ :hits-per-page.camel =" 6"
47+ />
4448 </div >
4549 </ais-instant-search >
4650 </div >
@@ -58,8 +62,7 @@ export default {
5862 " https://demos.meilisearch.com" ,
5963 " dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25" ,
6064 {
61- hitsPerPage: 6 ,
62- limitPerRequest: 100
65+ paginationTotalHits: 60
6366 }
6467 )
6568 };
You can’t perform that action at this time.
0 commit comments