docs: add vale rule for Next.js Starter Storefront (#12517)

This commit is contained in:
Shahed Nasser
2025-05-16 17:30:15 +03:00
committed by GitHub
parent 5cd4ff6fe7
commit a1f2e5cb52
30 changed files with 22512 additions and 22510 deletions
@@ -67,9 +67,9 @@ Start by installing the Medusa application on your machine with the following co
npx create-medusa-app@latest
```
You'll first be asked for the project's name. Then, when you're asked whether you want to install the Next.js storefront, choose `Y` for yes.
You'll first be asked for the project's name. Then, when you're asked whether you want to install the Next.js Starter Storefront, choose `Y` for yes.
Afterwards, the installation process will start, which will install the Medusa application in a directory with your project's name, and the Next.js storefront in a directory with the `{project-name}-storefront` name.
Afterwards, the installation process will start, which will install the Medusa application in a directory with your project's name, and the Next.js Starter Storefront in a directory with the `{project-name}-storefront` name.
<Note title="Why is the storefront installed separately?">
@@ -79,7 +79,7 @@ The Medusa application is composed of a headless Node.js server and an admin das
Once the installation finishes successfully, the Medusa Admin dashboard will open with a form to create a new user. Enter the user's credentials and submit the form.
Afterwards, you can log in with the new user and explore the dashboard. The Next.js storefront is also running at `http://localhost:8000`.
Afterwards, you can log in with the new user and explore the dashboard. The Next.js Starter Storefront is also running at `http://localhost:8000`.
<Note title="Ran into Errors?">
@@ -917,7 +917,7 @@ In the route handler function, you retrieve the cart to access it's `metadata` p
Then, you use the `createSubscriptionWorkflow` you created to create the order, and return the created order and subscription in the response.
In the next step, you'll customize the Next.js storefront, allowing you to test out the subscription feature.
In the next step, you'll customize the Next.js Starter Storefront, allowing you to test out the subscription feature.
### Further Reads
@@ -947,7 +947,7 @@ The account holder allows you to retrieve the saved payment method and use it to
---
## Step 9: Add Subscriptions to Next.js Storefront
## Step 9: Add Subscriptions to Next.js Starter Storefront
In this step, you'll customize the checkout flow in the [Next.js Starter storefront](../../../../nextjs-starter/page.mdx), which you installed in the first step, to: