Search
Adding the SearchPage to your site
The next step is to add the SearchPage
component to the search results page you created, on the URL matching the searchPagePath
. SearchPage
is the component that will be used to display the search results.
An example looks like this:
See a previous page about SetupPageReplacer
.
Use the columnsAtSize
prop to handle breakpoints on your search results page. It defines the number of product card columns displayed at each screen size.
To find out more about possible configuration options, see the reference
Was this page helpful?