docs: fix badges and tables not showing in code tabs (#12261)
This commit is contained in:
1 parent
dcb4788af9
commit
39523ba798
5 files changed
+53
-42
No files matched your search
@@ -306,7 +306,7 @@ Make sure to replace `~/path/to/medusa-app` with the path to your Medusa applica
|
||||
|
||||
Then, if your project was created before v2.3.1 of Medusa, make sure to install `yalc` as a development dependency:
|
||||
|
||||
```bash npm2yarn title="Medusa application"
|
||||
```bash npm2yarn badgeLabel="Medusa Application" badgeColor="green"
|
||||
npm install --save-dev yalc
|
||||
```
|
||||
|
||||
@@ -387,7 +387,7 @@ This command will:
|
||||
|
||||
You can start your Medusa application's development server to test out your plugin:
|
||||
|
||||
```bash npm2yarn title="Medusa application"
|
||||
```bash npm2yarn badgeLabel="Medusa Application" badgeColor="green"
|
||||
npm run dev
|
||||
```
|
||||
|
||||
|
||||
@@ -1006,13 +1006,13 @@ To test out the loyalty points flow, you'll use the [Next.js Starter Storefront]
|
||||
|
||||
So, run the following command in the Medusa application's directory to start the Medusa server:
|
||||
|
||||
```bash title="Medusa Application"
|
||||
```bash npm2yarn badgeLabel="Medusa Application" badgeColor="green"
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Then, run the following command in the Next.js Starter Storefront's directory to start the Next.js server:
|
||||
|
||||
```bash title="Next.js Starter Storefront"
|
||||
```bash npm2yarn badgeLabel="Storefront" badgeColor="blue"
|
||||
npm run dev
|
||||
```
|
||||
|
||||
|
||||
@@ -1734,7 +1734,7 @@ In this step, you'll add the functionality to allow customers to share their wis
|
||||
|
||||
To create the token and decode it later, you'll use the [jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken) package. So, run the following command in the plugin project to install the package:
|
||||
|
||||
```bash npm2yarn title="Plugin project"
|
||||
```bash npm2yarn badgeLabel="Plugin project" badgeColor="orange"
|
||||
npm install jsonwebtoken
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user