Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit fba6174

Browse files
damianlegawiecgitbook-bot
authored andcommitted
GitBook: [master] 60 pages and 2 assets modified
1 parent b0dca47 commit fba6174

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.gitbook/assets/cms_navigation.png

296 KB
Loading

.gitbook/assets/cms_pages.png

1.57 MB
Loading

customization/storefront.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ order: 0
99
{% hint style="warning" %}
1010
This sections covers the Rails storefront which was extracted to `spree_frontend` ruby gem.
1111

12-
For new projects we recommend to use [Storefront API](https://spark-solutions.stoplight.io/docs/api-v2/api/docs/v2/storefront/index.yaml) to build your own storefront.
12+
For new projects we recommend to use [Storefront API](https://spark-solutions.stoplight.io/docs/api-v2/api/docs/v2/storefront/index.yaml) to build your own storefront or use existing integrations with Next.js or Vue Storefront
1313
{% endhint %}
1414

1515
## Styling with SASS variables
1616

1717
Spree 4 under the hood uses [Bootstrap 4](https://getbootstrap.com/docs/4.6/getting-started/theming/) for easy theming with some additional Spree-specific [SASS variables](https://sass-lang.com/documentation/variables).
1818

19-
To make those changes live you need to update SCSS variable files located in your project at `app/assets/stylesheets/spree/frontend/variables/variables.scss`.
19+
![](../.gitbook/assets/cms_navigation.png) To make those changes live you need to update SCSS variable files located in your project at `app/assets/stylesheets/spree/frontend/variables/variables.scss`.
2020

2121
### Header
2222

getting-started/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Prerequisites
44

5-
Before proceeding make sure you have [Docker Desktop](https://docs.docker.com/get-docker/) installed on your system. This is fairly straightforward, but differs depending on which operating system you use.
5+
Before proceeding make sure you have [Docker Desktop](https://docs.docker.com/get-docker/) installed on your system. This is fairly straightforward but differs depending on which operating system you use.
66

77
If you would like to add Spree to your existing Ruby on Rails application, please [follow this guide instead](../advanced/existing_app_tutorial.md) \(for advanced users\).
88

@@ -26,11 +26,11 @@ To stop the webserver, hit `Ctrl-C` in the terminal window where it's running.
2626

2727
### Connecting to the API
2828

29-
Your API server is up and running.[ Download our Open API doc](https://raw.githubusercontent.com/spree/spree/master/api/docs/v2/storefront/index.yaml) and [import it to Postman](https://learning.postman.com/docs/integrations/available-integrations/working-with-openAPI/) to start playing around. Your backend server URL is `http://localhost:3000` so to grab the Products List you can use:
29+
Your API server is up and running.[ Download our Open API doc](https://raw.githubusercontent.com/spree/spree/master/api/docs/v2/storefront/index.yaml) and [import it to Postman](https://learning.postman.com/docs/integrations/available-integrations/working-with-openAPI/) to start playing around. Your backend server URL is `http://localhost:4000` so to grab the Products List you can use:
3030

3131
```bash
3232
curl --request GET \
33-
--url http://localhost:3000/api/v2/storefront/products \
33+
--url http://localhost:4000/api/v2/storefront/products \
3434
--header 'Content-Type: application/json'
3535
```
3636

0 commit comments

Comments
 (0)