Skip to content

Commit ba0b440

Browse files
authored
Documentation update for education (#38)
* Documentation update for education - Documentation update for education - update image mimetypes to include new formats * - update terminology
1 parent b7c45ea commit ba0b440

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,26 @@ Before you begin, ensure that you have the following accounts set up:
2929
- [Stripe account](https://dashboard.stripe.com/) - Stripe is used as the payment gateway. From your [Dashboard](https://dashboard.elasticpath.com), configure Stripe as the payment gateway.
3030
- [Algolia account](https://www.algolia.com/) - Algolia is used for search functionality to display search results, facets, and filtering.
3131

32+
### Development tools
33+
34+
An Elastic Path Commerce Cloud REACT PWA Reference Storefront development environment requires the following software:
35+
36+
- [Git](https://git-scm.com/downloads)
37+
- [Node.js](https://nodejs.org/en/download/)
38+
- [Yarn](https://yarnpkg.com/en/)
39+
- [Visual Studio Code](https://code.visualstudio.com/) with the following extensions:
40+
- [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)
41+
- [ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
42+
- **Windows Only:** [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/about)
43+
44+
### Knowledge Requirements
45+
46+
To customize and extend the storefront, you need knowledge in the following technologies:
47+
48+
- [React](https://reactjs.org/)
49+
- [CSS](https://en.wikipedia.org/wiki/Cascading_Style_Sheets)
50+
- [sass](https://sass-lang.com/)
51+
3252
### Start Building the Storefront
3353

3454
**Note**: If you are running a Windows environment, launch the Windows Subsystem for Linux application and perform the following steps from the console window.

src/service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ const imageMimeTypes = [
210210
'image/jpeg',
211211
'image/png',
212212
'image/gif',
213+
'image/webp',
214+
'image/jp2',
215+
'image/jxr',
213216
];
214217

215218
// Loads a file with a provided id and returns its url if it's mime type is an image or undefined otherwise

0 commit comments

Comments
 (0)