docs: add vale rule for Next.js Starter Storefront (#12517)
This commit is contained in:
@@ -85,7 +85,7 @@ To test the subscriber, start the Medusa application:
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Then, try placing an order either using Medusa's API routes or the [Next.js Storefront](!resources!/nextjs-starter). You'll see the following message in the terminal:
|
||||
Then, try placing an order either using Medusa's API routes or the [Next.js Starter Storefront](!resources!/nextjs-starter). You'll see the following message in the terminal:
|
||||
|
||||
```bash
|
||||
info: Processing order.placed which has 1 subscribers
|
||||
|
||||
@@ -10,7 +10,7 @@ In this chapter, you'll learn how to install and run a Medusa application.
|
||||
|
||||
## Create Medusa Application
|
||||
|
||||
A Medusa application is made up of a Node.js server and an admin dashboard. You can optionally install a separate [Next.js storefront](!resources!/nextjs-starter) either while installing the Medusa application or at a later point.
|
||||
A Medusa application is made up of a Node.js server and an admin dashboard. You can optionally install the [Next.js Starter Storefront](!resources!/nextjs-starter) separately either while installing the Medusa application or at a later point.
|
||||
|
||||
<Prerequisites items={[
|
||||
{
|
||||
@@ -33,7 +33,7 @@ To create a Medusa application, use the `create-medusa-app` command:
|
||||
npx create-medusa-app@latest my-medusa-store
|
||||
```
|
||||
|
||||
Where `my-medusa-store` is the name of the project's directory and PostgreSQL database created for the project. When you run the command, you'll be asked whether you want to install the Next.js storefront.
|
||||
Where `my-medusa-store` is the name of the project's directory and PostgreSQL database created for the project. When you run the command, you'll be asked whether you want to install the Next.js Starter Storefront.
|
||||
|
||||
After answering the prompts, the command installs the Medusa application in a directory with your project name, and sets up a PostgreSQL database that the application connects to.
|
||||
|
||||
@@ -47,9 +47,9 @@ Once the installation finishes successfully, the Medusa application will run at
|
||||
|
||||
The Medusa Admin dashboard also runs at `http://localhost:9000/app`. The installation process opens the Medusa Admin dashboard in your default browser to create a user. You can later log in with that user.
|
||||
|
||||
If you also installed the Next.js storefront, it'll be running at `http://localhost:8000`.
|
||||
If you also installed the Next.js Starter Storefront, it'll be running at `http://localhost:8000`.
|
||||
|
||||
You can stop the servers for the Medusa application and Next.js storefront by exiting the installation command. To run the server for the Medusa application again, refer to [this section](#run-medusa-application-in-development).
|
||||
You can stop the servers for the Medusa application and Next.js Starter Storefront by exiting the installation command. To run the server for the Medusa application again, refer to [this section](#run-medusa-application-in-development).
|
||||
|
||||

|
||||
|
||||
@@ -87,7 +87,7 @@ This runs your Medusa server at `http://localhost:9000`, and the Medusa Admin da
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
For details on starting and configuring the Next.js storefront, refer to [this documentation](!resources!/nextjs-starter).
|
||||
For details on starting and configuring the Next.js Starter Storefront, refer to [this documentation](!resources!/nextjs-starter).
|
||||
|
||||
</Note>
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export const generatedEditDates = {
|
||||
"app/learn/fundamentals/medusa-container/page.mdx": "2024-12-09T11:02:38.225Z",
|
||||
"app/learn/fundamentals/api-routes/page.mdx": "2024-12-04T11:02:57.134Z",
|
||||
"app/learn/fundamentals/modules/modules-directory-structure/page.mdx": "2024-12-09T10:32:46.839Z",
|
||||
"app/learn/fundamentals/events-and-subscribers/page.mdx": "2025-05-01T15:30:08.333Z",
|
||||
"app/learn/fundamentals/events-and-subscribers/page.mdx": "2025-05-16T13:40:16.111Z",
|
||||
"app/learn/fundamentals/modules/container/page.mdx": "2025-03-18T15:10:03.574Z",
|
||||
"app/learn/fundamentals/workflows/execute-another-workflow/page.mdx": "2024-12-09T15:56:22.895Z",
|
||||
"app/learn/fundamentals/modules/loaders/page.mdx": "2025-04-22T15:32:00.430Z",
|
||||
@@ -97,7 +97,7 @@ export const generatedEditDates = {
|
||||
"app/learn/build/page.mdx": "2025-04-25T12:34:33.914Z",
|
||||
"app/learn/deployment/general/page.mdx": "2025-04-17T08:29:09.878Z",
|
||||
"app/learn/fundamentals/workflows/multiple-step-usage/page.mdx": "2024-11-25T16:19:32.169Z",
|
||||
"app/learn/installation/page.mdx": "2025-04-28T16:16:39.357Z",
|
||||
"app/learn/installation/page.mdx": "2025-05-16T13:44:27.118Z",
|
||||
"app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z",
|
||||
"app/learn/fundamentals/module-links/link/page.mdx": "2025-04-07T08:03:14.513Z",
|
||||
"app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-04-17T08:29:10.166Z",
|
||||
|
||||
+22428
-22429
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user