Step 1: Install Core
Package Manager (Recommended)
Core is available via npm or yarn. To install,
npm i @yext/search-core
yarn add @yext/search-core
If you require additional customization or need to fork the library, you can download the source code and reference it in your file structure.
Code Sandbox Vanilla JS Example
To play around with the library and its types, we’ll walk through an example with Code Sandbox.
- Create a new Code Sandbox using the “Vanilla Typescript” Template.
- Under the “Dependencies” section on the left, search for
@yext/search-coreand install it.