admin-vben5/docs/src/en/guide/introduction/quick-start.md
invalid w 8230493651
feat(@vben/docs): support english documents (#4202)
* chore(@vben/docs): 完成guide文档的翻译

* chore(@vben/docs): 完成other文档的翻译

* chore: 翻译部分文档

* chore: 完成英文config的配置

* chore: 完成in-depth的文档翻译

* chore: 调整调整链接

* chore: typo

* chore: typo

* chore: update links

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2024-08-23 19:46:51 +08:00

2.1 KiB

outline
deep

Quick Start

Prerequisites

::: info Environment Requirements

Before starting the project, ensure that your environment meets the following requirements:

  • Node.js version 20 or above. It is recommended to use fnm or nvm for version management.
  • Git any version.

To verify if your environment meets the above requirements, you can check the versions using the following commands:

# Ensure the correct node LTS version is displayed
node -v
# Ensure the correct git version is displayed
git -v

:::

Starting the Project

Obtain the Source Code

::: code-group

# Clone the code
git clone https://github.com/vbenjs/vue-vben-admin.git
# Clone the code
# The Gitee repository may not have the latest code
git clone https://gitee.com/annsion/vue-vben-admin.git

:::

::: danger Caution

Ensure that the directory where you store the code and all its parent directories do not contain Chinese, Korean, Japanese characters, or spaces, as this may cause errors when installing dependencies and starting the project.

:::

Install Dependencies

Open a terminal in your code directory and execute the following commands:

# Enter the project directory
cd vue-vben-admin

# Enable the project-specified version of pnpm
corepack enable

# Install dependencies
pnpm install

::: tip Note

The project only supports using pnpm for installing dependencies. By default, corepack will be used to install the specified version of pnpm.

:::

Run the Project

Execute the following command to run the project:

# Start the project
pnpm dev

You will see an output similar to the following, allowing you to select the project you want to run:

│
◆  Select the app you need to run [dev]:
│  ● @vben/web-antd
│  ○ @vben/web-ele
│  ○ @vben/web-naive
│  ○ @vben/docs
│  ○ @vben/playground
└

Now, you can visit http://localhost:5555 in your browser to view the project.