docs: remove dev notices + fix AI assistant answer width (#9686)

* docs: remove dev notices + fix AI assistant answer width

* fix import

* more notes removal

* rc to latest
This commit is contained in:
Shahed Nasser
2024-10-23 10:52:52 +03:00
committed by GitHub
parent 8891c0a3d0
commit c08df5ac44
35 changed files with 120 additions and 332 deletions

View File

@@ -1,4 +1,4 @@
import { DetailsList, BetaBadge, Prerequisites } from "docs-ui"
import { DetailsList, Prerequisites } from "docs-ui"
import CmaOptionTroubleshooting from "../troubleshooting/_sections/nextjs/cma-option.mdx"
import CorsErrorTroubleshooting from "../troubleshooting/_sections/other/cors-errors.mdx"
import ModuleXErrorTroubleshooting from "../troubleshooting/_sections/common-installation-errors/module-x-error.mdx"
@@ -7,7 +7,7 @@ export const metadata = {
title: `Next.js Starter`,
}
# {metadata.title} <BetaBadge text="Beta" tooltipText="Next.js starter is currently in development and doesn't fully support Medusa v2 yet." />
# {metadata.title}
The Next.js Starter storefront provides rich commerce features and a sleek design. Developers and businesses can use it as-is or as a starting point to build a storefront for their Medusa application.
@@ -23,26 +23,6 @@ The Next.js Starter storefront provides rich commerce features and a sleek desig
## Installation
{/* TODO add when we support next.js starter in create-medusa-app v2 */}
{/* ### Option 1: Medusa Application + Next.js Starter
The `create-medusa-app` CLI tool accepts the `--with-nextjs-starter` option that installs the Next.js storefront along with the Medusa application:
```bash
npx create-medusa-app@latest --with-nextjs-starter
```
Refer to the [create-medusa-app reference](../create-medusa-app/page.mdx) for more details on prerequisites, steps, and troubleshooting. */}
{/* ### Option 2: Next.js Starter Only */}
{/* <Note type="check">
- At least one region in the Medusa application.
</Note> */}
1. Clone the `v2` branch of the [Next.js Starter](https://github.com/medusajs/nextjs-starter-medusa):
```bash