/
API URL
API URL
apiUrl
This option contains the Hawksearch API host URL to which search requests are send.
Options
default value is
'https://searchapi-dev.hawksearch.net'
‘searchapi-test.hawksearch’
const config = {
...
apiUrl: 'https://searchapi-test.hawksearch.net',
...
};
var widget = HawksearchVue.createWidget(component, { config: config});
HawksearchVue.initialSearch(widget);
‘searchapi.hawksearch’
const config = {
...
apiUrl: 'https://searchapi.hawksearch',
...
};
var widget = HawksearchVue.createWidget(component, { config: config});
HawksearchVue.initialSearch(widget);
Usage
Check this articles for more information about the Dashboard API Documentation and apiUrl
:
Related content
Creating widgets with Vue SDK
Creating widgets with Vue SDK
More like this
Dashboard URL
Dashboard URL
More like this
Client Guid
Client Guid
More like this
Enable Vue.js for Hawksearch results widget
Enable Vue.js for Hawksearch results widget
More like this
Enable Vue.js for Hawksearch box widget
Enable Vue.js for Hawksearch box widget
More like this
Extending the Vuex store
Extending the Vuex store
More like this