feat: added npm2yarn package (#1347)

This commit is contained in:
Shahed Nasser
2022-04-18 15:17:27 +02:00
committed by GitHub
parent fcd2889fd7
commit 3ad0f66619
36 changed files with 237 additions and 176 deletions
+4 -4
View File
@@ -32,7 +32,7 @@ If you dont have a Medusa server installed yet, you must follow our [quicksta
In the root of your Medusa server, run the following command to install the stripe plugin:
```bash
```bash npm2yarn
npm install medusa-payment-stripe
```
@@ -184,14 +184,14 @@ The integration with stripe must have the following workflow:
Before you start the implementations you need to install the necessary dependencies. Youll be using Stripes React libraries to show the UI and handle the payment confirmation:
```bash
```bash npm2yarn
npm install --save @stripe/react-stripe-js @stripe/stripe-js
```
Youll also use Medusas JS Client to easily call Medusas REST APIs:
```bash
npm i @medusajs/medusa-js
```bash npm2yarn
npm install @medusajs/medusa-js
```
#### Initialize Stripe