This page is about version 3.6.4 of the app, which is not the most recent version. The latest stable version is 3.6.5.
The wrappers are used to call the context Provider for other components and they are made of three blocks owner-list-wrapper , guest-list-wrapper and user-lists-wrapper and each one represents a context, which are owners, guests and users respectively.
Configuration
- Import the
vtex.listapp to your theme's peer dependencies in themanifest.jsonfile as in the following example:
_10 "peerDependencies": {_10 "vtex.list": "3.x"_10 }
- Add a wrapper like the
owner-list-wrapperblock to other theme block, such as thestore.search. For example:
_13// .store/blocks/wrappers.jsonc_13_13 "searchWrapper#default": {_13 "props": {_13+ "CustomContext": "owner-list-wrapper"_13 }_13 }_13_13// .store/blocks/search/search.jsonc_13 "store.search": {_13 "parent": {_13 "searchWrapper": "searchWrapper#default"_13 },