docs: add missing steps to enable medusa_v2 flag (#6406)
This commit is contained in:
@@ -8,15 +8,15 @@ As Medusa moves towards modularization, commerce concepts such as Products or Pr
|
||||
|
||||
:::danger[Production Warning]
|
||||
|
||||
All features guarded by the `medusa_v2` flag are not ready for production and will cause unexpected issues in your production server.
|
||||
All features guarded by the `medusa_v2` flag are not ready for production and will cause unexpected issues in your production server. Additionally, the core Store and Admin API routes are not registered if the flag is enabled – only routes in the `dist/api-v2/*` directory of the `@medusajs/medusa` package.
|
||||
|
||||
:::
|
||||
|
||||
Experimental Features are guarded in the Medusa backend by a feature flag.
|
||||
To enable the experimental features:
|
||||
|
||||
To use them, [enable the `medusa_v2` feature flag](../development/feature-flags/toggle.md) in your backend.
|
||||
|
||||
Then, run migrations in your backend with the following command:
|
||||
1. [Enable the `medusa_v2` feature flag](../development/feature-flags/toggle.md) in your backend.
|
||||
2. Install the [Product](./product/install-medusa.mdx) and [Pricing](./pricing/install-medusa.mdx) modules and add them to the Medusa configurations.
|
||||
3. Finally, run migrations in your backend with the following command:
|
||||
|
||||
```bash
|
||||
npx medusa migrations run
|
||||
|
||||
Reference in New Issue
Block a user