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

Commit

Permalink
GitBook: [master] 60 pages and 2 assets modified
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec authored and gitbook-bot committed Sep 14, 2021
1 parent b0dca47 commit fba6174
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file added .gitbook/assets/cms_navigation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/cms_pages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions customization/storefront.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ order: 0
{% hint style="warning" %}
This sections covers the Rails storefront which was extracted to `spree_frontend` ruby gem.

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.
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
{% endhint %}

## Styling with SASS variables

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).

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`.
![](../.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`.

### Header

Expand Down
6 changes: 3 additions & 3 deletions getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Prerequisites

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.
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.

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\).

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

### Connecting to the API

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:
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:

```bash
curl --request GET \
--url http://localhost:3000/api/v2/storefront/products \
--url http://localhost:4000/api/v2/storefront/products \
--header 'Content-Type: application/json'
```

Expand Down

0 comments on commit fba6174

Please sign in to comment.