Skip to content

Commit 528a4b3

Browse files
committed
update getting started
1 parent 435223f commit 528a4b3

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

apps/docs/getting-started.mdx

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,7 @@ bunx htmldocs@latest init
2929

3030
This will prompt you for your project name and create a new folder in your current directory.
3131

32-
2. After switching to the folder, install the dependencies by running:
33-
<CodeGroup>
34-
35-
```bash npm
36-
npm install
37-
```
38-
39-
```bash pnpm
40-
pnpm install
41-
```
42-
43-
```bash yarn
44-
yarn install
45-
```
46-
47-
```bash bun
48-
bun install
49-
```
50-
</CodeGroup>
51-
52-
3. Once the setup is complete, you can start the development server by running:
32+
3. After switching to the folder, you can start the development server by running:
5333
<CodeGroup>
5434

5535
```bash npm
@@ -126,8 +106,24 @@ export default function MyDocument() {
126106

127107
4. Run the development server by running:
128108

129-
```bash
109+
<CodeGroup>
110+
111+
```bash npm
130112
npm run dev
131113
```
132114

115+
```bash pnpm
116+
pnpm dev
117+
```
118+
119+
```bash yarn
120+
yarn dev
121+
```
122+
123+
```bash bun
124+
bun dev
125+
```
126+
127+
</CodeGroup>
128+
133129
This will start a live preview of your documents in your browser.

0 commit comments

Comments
 (0)