Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The wbesiteUrl default value is location.origin. This option helps HawksearchVue to get the absolute URL of the page.

Code Block
const hawkConfigconfig = {
      ...
      wbesiteUrl: location.origin
      ...
};

var widget = HawksearchVue.createWidget(component, { config: hawkConfigconfig });

HawksearchVue.initialSearch(widget);

...