Step 1: Install Core

Core is available via npm or yarn. To install,

npm i @yext/search-core
yarn add @yext/search-core

Local Install

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.

  1. Create a new Code Sandbox using the “Vanilla Typescript” Template.
  2. Under the “Dependencies” section on the left, search for @yext/search-core and install it.