Skip to content

Commit 682f2dc

Browse files
committed
docs: update prerequisites section
1 parent 554abae commit 682f2dc

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

apps/website/src/docs/getting-started/prerequisites.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ description: Libraries required to create custom Code Block component.
44
category: [Getting-Started]
55
---
66

7-
> [**Code-Blocks**](https://code-blocks.pheralb.dev) separates components and utilities. You can use them independently.
7+
To create your own custom Code Block component, make sure you have the following prerequisites:
8+
9+
- [Node.js v20](https://nodejs.org/en/download/current) or higher.
10+
- [Typescript v5](https://www.typescriptlang.org/) or higher.
11+
- If you plan to use the [shadcn/ui CLI](https://ui.shadcn.com/docs/cli), make sure you configure the [`components.json`](https://ui.shadcn.com/docs/components-json) file first.
812

913
## Styling
1014

@@ -16,8 +20,6 @@ For some colors, we use [**neutral** theme](https://tailwindcss.com/docs/colors)
1620

1721
## Components
1822

19-
> If you're using [shadcn/ui](https://ui.shadcn.com), you can skip this section as the required dependencies are already included.
20-
2123
1. Create a new React app:
2224

2325
<CreateReactApp />
@@ -60,11 +62,7 @@ You'll need to install [@base-ui/react](https://base-ui.com/) to use the Blocks
6062

6163
1. Install the package:
6264

63-
<CodeBlockSelectPkg
64-
type="install"
65-
title="Base UI"
66-
command="@base-ui/react"
67-
/>
65+
<CodeBlockSelectPkg type="install" title="Base UI" command="@base-ui/react" />
6866

6967
2. Add `root` class to global `<body>` tag:
7068

0 commit comments

Comments
 (0)