docs: small fixes in next.js storefront guide (#4256)
This commit is contained in:
1 parent
b1c63c5476
commit
3f42a8e740
1 file changed
+2
-8
@@ -56,12 +56,6 @@ You can install Node from the [official website](https://nodejs.org/en/).
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
:::tip
|
|
||||||
|
|
||||||
It is recommended to use [Yarn](https://yarnpkg.com/getting-started/install) for the installation process as it's much faster than using NPM.
|
|
||||||
|
|
||||||
:::
|
|
||||||
|
|
||||||
1\. Create a new Next.js project using the [Medusa starter template](https://github.com/medusajs/nextjs-starter-medusa):
|
1\. Create a new Next.js project using the [Medusa starter template](https://github.com/medusajs/nextjs-starter-medusa):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -77,11 +71,11 @@ mv .env.template .env.local
|
|||||||
|
|
||||||
3\. Make sure the Medusa backend is running, then run the local Next.js server:
|
3\. Make sure the Medusa backend is running, then run the local Next.js server:
|
||||||
|
|
||||||
```bash
|
```bash npm2yarn
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Your Next.js storefront is now running at `localhost:8000`!
|
Your Next.js storefront is now running at `localhost:8000`
|
||||||
|
|
||||||
<Feedback
|
<Feedback
|
||||||
event="survey_nextjs_quickstart"
|
event="survey_nextjs_quickstart"
|
||||||
|
|||||||
Reference in new issue
Block a user