Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 3.67 KB

How to configure Vue Storefront.md

File metadata and controls

43 lines (33 loc) · 3.67 KB

How to configure Vue Storefront

Layer A integration is very simple.

By default Vue Storefront uses ES index named vue_storefront_catalog. Please apply the changes accordingly to:

  • vue-storefront config file local.json to point to right index name,
  • vue-storefront-api config file local.json to point to right index name.

Restart vue-storefront and vue-storefront-api.

Please note: By default vue-storefront is using vue-storefront-api as a proxy to ElasticSearch. You might want to use the Elastic connection directly. In that case feel free to put the http://localhost:9200 or whatever Elastic URL you have as a elasticsearch.host to vue-storefront/config/local.json.

Note: When connecting to Elastic directly, please make sure to change the config.elasticsearch.queryMethod to POST in the config file.

The integration requires You to change the config/local.json to set the proper endpoints for Dynamic API calls.

The cart section:

The users section:

The stock section:

The orders section: