Skip to content

Commit

Permalink
Update first-server.mdx (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
liruifengv authored Oct 7, 2023
1 parent 439b5a1 commit 37b197d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/content/docs/guides/first-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ In order to be able to have both the language server and the VS Code client in t
<TabItem label="npm">

```sh
# create a new project with npm
# create a new monorepo project with npm
npm init -w ./packages/server
npm init -w ./packages/client
```
Expand All @@ -61,7 +61,7 @@ npm init -w ./packages/client
<TabItem label="pnpm">

```sh
# create a new project with pnpm
# create a new monorepo project with pnpm
mkdir -p ./packages/server ./packages/client
echo -e 'packages:\n - "packages/*"' > pnpm-workspace.yaml
# Go into both newly created folders in packages and run `pnpm init`
Expand All @@ -71,7 +71,7 @@ echo -e 'packages:\n - "packages/*"' > pnpm-workspace.yaml
<TabItem label="Yarn">

```sh
# create a new project with yarn
# create a new monorepo project with yarn
yarn init -w ./packages/server
yarn init -w ./packages/client
```
Expand Down Expand Up @@ -111,23 +111,23 @@ We'll also be installing a few dependencies from Volar and VS Code. Run the foll
<TabItem label="npm">

```sh
# create a new project with npm
# Installing dependencies with npm
npm install @volar/language-server @volar/vscode vscode-languageclient ../server
```

</TabItem>
<TabItem label="pnpm">

```sh
# create a new project with pnpm
# Installing dependencies with pnpm
pnpm install @volar/language-server @volar/vscode vscode-languageclient ../server
```

</TabItem>
<TabItem label="Yarn">

```sh
# create a new project with yarn
# Installing dependencies with yarn
yarn install @volar/language-server @volar/vscode vscode-languageclient ../server
```

Expand Down

0 comments on commit 37b197d

Please sign in to comment.