docs: improve getting started chapters (#10014)
This commit is contained in:
@@ -15,7 +15,7 @@ In this document, you’ll learn how to deploy the Medusa Admin to [Vercel](http
|
||||
<Prerequisites items={[
|
||||
{
|
||||
text: "Medusa application’s codebase hosted on GitHub repository.",
|
||||
link: "!docs!"
|
||||
link: "!docs!/learn/installation"
|
||||
},
|
||||
{
|
||||
text: "Deployed Medusa application.",
|
||||
|
||||
@@ -31,7 +31,7 @@ The same Medusa project is used to deploy the server and worker modes. Learn mor
|
||||
<Prerequisites items={[
|
||||
{
|
||||
text: "Medusa application’s codebase hosted on GitHub repository.",
|
||||
link: "!docs!"
|
||||
link: "!docs!/learn/installation"
|
||||
},
|
||||
]} />
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ Explore Medusa's commerce modules, SDKs, configurations, recipes, and more.
|
||||
|
||||
<Note title="Getting started?">
|
||||
|
||||
Follow the [Medusa v2 Docs](!docs!) to become an advanced Medusa developer.
|
||||
Follow the [Medusa Docs](!docs!/learn) to become an advanced Medusa developer.
|
||||
|
||||
</Note>
|
||||
|
||||
|
||||
@@ -74,4 +74,4 @@ Our documentation has step-by-step guides to deploy your Medusa application, Med
|
||||
|
||||
Along with the extensive ecommerce features, Medusa also provides the architecture and tools to customize and add new features.
|
||||
|
||||
To learn how to develop customziations with Medusa, refer to the [Medusa documentation](!docs!)
|
||||
To learn how to develop customziations with Medusa, refer to the [Medusa documentation](!docs!/learn)
|
||||
|
||||
@@ -4,19 +4,19 @@ You might see a log in your browser console, that looks like this:
|
||||
|
||||

|
||||
|
||||
In your `medusa-config.ts` , you should ensure that you've configured your CORS settings correctly:
|
||||
In your `medusa-config.ts`, ensure that you've configured your CORS settings correctly:
|
||||
|
||||
```ts title="medusa-config.ts"
|
||||
module.exports = defineConfig({
|
||||
projectConfig: {
|
||||
http: {
|
||||
storeCors: process.env.STORE_CORS,
|
||||
adminCors: process.env.ADMIN_CORS,
|
||||
authCors: process.env.AUTH_CORS,
|
||||
storeCors: process.env.STORE_CORS || "http://localhost:8000",
|
||||
adminCors: process.env.ADMIN_CORS || "http://localhost:9000",
|
||||
authCors: process.env.AUTH_CORS || "http://localhost:8000,http://localhost:9000",
|
||||
},
|
||||
// ...
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
Learn more about these configurations in [this documentation](/references/medusa-config#http)
|
||||
Learn more about these configurations in [this documentation](/references/medusa-config#http).
|
||||
|
||||
Reference in New Issue
Block a user