docs: general fixes and overall changes (#7258)

* editing halfway

* edited second half

* adjust starter steps

* fix build

* typo fix
This commit is contained in:
Shahed Nasser
2024-05-07 18:00:28 +02:00
committed by GitHub
parent 8db62827ac
commit 327e446974
57 changed files with 872 additions and 1849 deletions
@@ -6,9 +6,9 @@ export const metadata = {
In this chapter, youll learn how to install and use the Next.js Starter storefront.
<Note title="Demo">
<Note type="soon">
Check out the demo [here](https://next.medusajs.com/).
The Next.js starter is currently in development to fully support Medusa v2.
</Note>
@@ -21,16 +21,17 @@ Check out the demo [here](https://next.medusajs.com/).
</Note>
1. Create a Next.js project using the [Next.js Starters repository URL](https://github.com/medusajs/nextjs-starter-medusa):
1. Clone the `feat/v2` branch of the [Next.js Starter](https://github.com/medusajs/nextjs-starter-medusa):
```bash
npx create-next-app -e https://github.com/medusajs/nextjs-starter-medusa my-medusa-storefront
git clone https://github.com/medusajs/nextjs-starter-medusa -b feat/v2 my-medusa-storefront
```
2. Change to the `my-medusa-storefront` directory and rename the template environment variable:
2. Change to the `my-medusa-storefront` directory, install the dependencies, and rename the template environment variable:
```bash
```bash npm2yarn
cd my-medusa-storefront
npm install
mv .env.template .env.local
```