docs: fix typos + clarify example in UI docs (#11543)
This commit is contained in:
1 parent
39a0077e84
commit
120e6f9ba6
5 files changed
+9573
-9571
No files matched your search
@@ -3292,9 +3292,9 @@ You can use a custom Next.js project, or use Medusa's Next.js Starter storefront
|
||||
|
||||
Before adding the storefront UI, you need an API route that allows a client to stream delivery changes.
|
||||
|
||||
So, create the file `src/api/deliveries/subscribe/route.ts` with the following content:
|
||||
So, create the file `src/api/deliveries/[id]/subscribe/route.ts` with the following content:
|
||||
|
||||
```ts title="src/api/deliveries/subscribe/route.ts" collapsibleLines="1-12" expandButtonLabel="Show Imports"
|
||||
```ts title="src/api/deliveries/[id]/subscribe/route.ts" collapsibleLines="1-12" expandButtonLabel="Show Imports"
|
||||
import {
|
||||
MedusaRequest,
|
||||
MedusaResponse,
|
||||
|
||||
@@ -9,7 +9,7 @@ export const metadata = {
|
||||
|
||||
In this guide, you'll learn how to build a marketplace with Medusa.
|
||||
|
||||
When you install a Medusa application, you get a fully-fledged commerce platform with support for customizations. While Medusa doesn't provide marketeplace functionalities natively, it provides features that you can extend and a framework to support all your customization needs to build a marketplace.
|
||||
When you install a Medusa application, you get a fully-fledged commerce platform with support for customizations. While Medusa doesn't provide marketplace functionalities natively, it provides features that you can extend and a framework to support all your customization needs to build a marketplace.
|
||||
|
||||
In this guide, you'll customize Medusa to build a marketplace with the following features:
|
||||
|
||||
@@ -260,7 +260,7 @@ To create tables for the marketplace data models in the database, start by gener
|
||||
npx medusa db:generate marketplaceModuleService
|
||||
```
|
||||
|
||||
This generates a migration in the `src/modules/marketeplace/migrations` directory.
|
||||
This generates a migration in the `src/modules/marketplace/migrations` directory.
|
||||
|
||||
Then, to reflect the migration and links in the database, run the following command:
|
||||
|
||||
|
||||
Reference in new issue
Block a user