diff --git a/.env.template b/.env.template index c5543e4b1..2a99cb097 100644 --- a/.env.template +++ b/.env.template @@ -16,3 +16,6 @@ NEXT_PUBLIC_SWELL_PUBLIC_KEY= NEXT_PUBLIC_SALEOR_API_URL= NEXT_PUBLIC_SALEOR_CHANNEL= + +NEXT_PUBLIC_VENDURE_SHOP_API_URL= +NEXT_PUBLIC_VENDURE_LOCAL_URL= diff --git a/README.md b/README.md index 8204b3445..f8fed7b7a 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,14 @@ And check that the `tsconfig.json` resolves to the chosen provider: "@framework/*": ["framework/shopify/*"] ``` +The setup for Vendure would look like this: + +``` +COMMERCE_PROVIDER=vendure +NEXT_PUBLIC_VENDURE_SHOP_API_URL=https://demo.vendure.io/shop-api +NEXT_PUBLIC_VENDURE_LOCAL_URL=/vendure-shop-api +``` + That's it! ### Features