edited the local template and the readme files to add vendure configrations

This commit is contained in:
heba 2021-06-29 04:49:58 +02:00
parent 08813be880
commit a7ad8ec638
2 changed files with 11 additions and 0 deletions

View File

@ -16,3 +16,6 @@ NEXT_PUBLIC_SWELL_PUBLIC_KEY=
NEXT_PUBLIC_SALEOR_API_URL= NEXT_PUBLIC_SALEOR_API_URL=
NEXT_PUBLIC_SALEOR_CHANNEL= NEXT_PUBLIC_SALEOR_CHANNEL=
NEXT_PUBLIC_VENDURE_SHOP_API_URL=
NEXT_PUBLIC_VENDURE_LOCAL_URL=

View File

@ -58,6 +58,14 @@ And check that the `tsconfig.json` resolves to the chosen provider:
"@framework/*": ["framework/shopify/*"] "@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! That's it!
### Features ### Features