|
|
1 сар өмнө | |
|---|---|---|
| .cursor | 1 сар өмнө | |
| .husky | 1 сар өмнө | |
| .idea | 1 сар өмнө | |
| .vscode | 1 сар өмнө | |
| licenses | 1 сар өмнө | |
| mock | 1 сар өмнө | |
| public | 1 сар өмнө | |
| src | 1 сар өмнө | |
| .editorconfig | 1 сар өмнө | |
| .env.development | 1 сар өмнө | |
| .env.production | 1 сар өмнө | |
| .eslintrc-auto-import.json | 1 сар өмнө | |
| .prettierignore | 1 сар өмнө | |
| .prettierrc.yaml | 1 сар өмнө | |
| .stylelintignore | 1 сар өмнө | |
| .stylelintrc.cjs | 1 сар өмнө | |
| CHANGELOG.md | 1 сар өмнө | |
| LICENSE | 1 сар өмнө | |
| README.en-US.md | 1 сар өмнө | |
| README.md | 1 сар өмнө | |
| commitlint.config.cjs | 1 сар өмнө | |
| eslint.config.ts | 1 сар өмнө | |
| index.html | 1 сар өмнө | |
| package.json | 1 сар өмнө | |
| pnpm-lock.yaml | 1 сар өмнө | |
| tsconfig.json | 1 сар өмнө | |
| uno.config.ts | 1 сар өмнө | |
| vite.config.ts | 1 сар өмнө |
vue3-element-admin is a minimalist enterprise-level backend management frontend template built with Vue3, Vite7, TypeScript, and Element-Plus. It comes with complementary Java backend youlai-boot and Node backend youlai-nest. A simplified version vue3-element-template and a JavaScript version vue3-element-admin-js are also available for developers to quickly start development.
Data Interaction: Support for Mock data and online API documentation, with accompanying Java and Node backend source code.
System Functions: Provides user management, role management, menu management, department management, dictionary management, and other functional modules.
Permission Management: Supports dynamic routing, button permissions, role permissions, and data permissions.
Infrastructure: Provides internationalization, multiple layouts, dark mode, full screen, watermark, API documentation, and code generator functionality.
Continuous Updates: Project is continuously updated with real-time updates of tools and dependencies.
🖥️ Dashboard

⚡API Documentation

📲 Mobile Version

| Project | Gitee | Github | GitCode |
|---|---|---|---|
| vue3-element-admin ✅ | vue3-element-admin | vue3-element-admin | vue3-element-admin |
| vue3-element-admin JS Version | vue3-element-admin-js | vue3-element-admin-js | vue3-element-admin-js |
| vue3-element-admin Lite Version | vue3-element-template | vue3-element-template | vue3-element-template |
| vue-uniapp-admin Mobile Version | vue-uniapp-admin | vue-uniapp-admin | vue-uniapp-admin |
| Java Backend | youlai-boot | youlai-boot | youlai-boot |
| Node Backend | youlai-nest | youlai-nest | youlai-nest |
| Name | Link |
|---|---|
| Video Tutorial | https://www.bilibili.com/video/BV1eFUuYyEFj |
| Project Setup | Building a Backend Management System from Scratch with Vue3, Vite, TypeScript, and Element-Plus |
| Official Documentation | https://www.youlai.tech/vue3-element-admin/ |
| Code Standards | ESLint V9 + Prettier + Stylelint + EditorConfig for Standardized and Unified Frontend Code Style |
| Commit Standards | Husky + Lint-staged + Commitlint + Commitizen + cz-git for Git Commit Standards |
| API Documentation | https://www.apifox.cn/apidoc/shared-195e783f-4d85-4235-a038-eec696de4ea5 |
| Environment Type | Name |
|---|---|
| Development Tool | Visual Studio Code |
| Runtime Environment | ^20.19.0 |
Quick Start
# Clone repository
git clone https://gitee.com/youlaiorg/vue3-element-admin.git
# Change directory
cd vue3-element-admin
# Install pnpm
npm install pnpm -g
# Set mirror source (optional)
pnpm config set registry https://registry.npmmirror.com
# Install dependencies
pnpm install
# Start development server
pnpm run dev
After executing the pnpm run build command, the project will be bundled and a dist directory will be generated. Next, upload the files from the dist directory to the /usr/share/nginx/html directory on your server and configure Nginx for reverse proxy.
pnpm run build
Here is an example Nginx configuration:
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
# Reverse proxy configuration
location /prod-api/ {
# Please replace api.youlai.tech with your backend API address, and keep the trailing slash /
proxy_pass http://api.youlai.tech/;
}
}
For more detailed information, please refer to this article: Nginx Installation and Configuration.
The project supports both online and local Mock interfaces. By default, it uses online interfaces. To switch to Mock interfaces, modify the VITE_MOCK_DEV_SERVER value in the .env.development file to true.
If you have a basic understanding of Java development, follow these steps to convert online API to local backend API and create an enterprise-level full-stack development environment to help you on your full-stack journey.
Java and SpringBoot from youlai-boot.VITE_APP_API_URL in the .env.development file, changing it from https://api.youlai.tech to http://localhost:8989.Component type declarations have been automatically generated for the template project. If you add and use new components, follow the instructions in the screenshot to enable automatic generation. After automatic generation is complete, remember to set it back to false to avoid conflicts.

Try upgrading your browser, as older browser engines may not support certain new JavaScript syntax, such as optional chaining operator ?..
After synchronizing the project with repository updates, it is recommended to run pnpm install to update dependencies before starting.
Restart VSCode to try again.
If you have any other issues or suggestions, please open an ISSUE.
Execute pnpm run commit to invoke interactive git commit and complete the information input and selection according to the prompts.

Thanks to all the contributors!
① Follow the "Youlai Tech" WeChat Official Account, click the Group Chat menu to get the QR code (this measure is taken to prevent ads from entering the group, thanks for your understanding and support).
② Directly add WeChat haoxianrui with a note indicating "Frontend/Backend/Full Stack".
