医疗版 web端

JutarryWu 47fa1b6c5a 言语康复训练 - 听 - 77% 1 неделя назад
licenses 65169eea8d init 4 месяцев назад
mock 3c48b0c535 1、图片拼图优化 3 месяцев назад
public 47fa1b6c5a 言语康复训练 - 听 - 77% 1 неделя назад
src 47fa1b6c5a 言语康复训练 - 听 - 77% 1 неделя назад
.editorconfig 65169eea8d init 4 месяцев назад
.env.development a358258fa8 言语康复训练 - 听 - 65% 1 неделя назад
.env.production ff65c41b61 画钟测验双屏显示demo完成100% 2 недель назад
.eslintignore 0303de3f94 言语康复训练 - 听 - 80% 1 неделя назад
.eslintrc-auto-import.json 65169eea8d init 4 месяцев назад
.eslintrc.cjs 0b1ff4f5e0 对接部分接口 优化页面代码 4 месяцев назад
.gitignore 7bf207fe13 增加Git忽略项 4 месяцев назад
.prettierignore 65169eea8d init 4 месяцев назад
.prettierrc.cjs 65169eea8d init 4 месяцев назад
.stylelintignore 65169eea8d init 4 месяцев назад
.stylelintrc.cjs 65169eea8d init 4 месяцев назад
CHANGELOG.md 65169eea8d init 4 месяцев назад
LICENSE 65169eea8d init 4 месяцев назад
README.en-US.md 65169eea8d init 4 месяцев назад
README.md b49f9bc436 init 4 месяцев назад
commitlint.config.cjs 65169eea8d init 4 месяцев назад
index.html ff65c41b61 画钟测验双屏显示demo完成100% 2 недель назад
package.json bf60b1af92 重新设置websocket并画钟测验双屏显示demo完成20% 2 недель назад
postcss.config.cjs 9d85241edb 适配优化 4 месяцев назад
tsconfig.json 642fba40f8 医疗版留言功能开发 2 месяцев назад
uno.config.ts 65169eea8d init 4 месяцев назад
vite.config.ts 31a33a5abe 变更名字的相关修改 1 месяц назад

README.en-US.md

中文 | English

Introduction

vue3-element-admin is a free and open-source admin template for backend management frontend, built with popular technologies such as Vue3, Vite5, TypeScript, Element-Plus, and Pinia (with accompanying backend source code).

Project Features

  • Simple and Easy-to-use: Upgraded version of vue-element-admin for Vue3, with minimal encapsulation and easy to get started.

  • Data Interaction: Support both local Mock data and remote API. Comes with Java backend source code and online API documentation.

  • Permission Management: Complete permission system for users, roles, menus, dictionaries, and departments.

  • Essential Infrastructure: Dynamic routing, button permissions, internationalization, code style, Git commit conventions, and common component encapsulation.

  • Continuous Updates: Since 2021, the project has maintained an open-source status with continuous updates, integrating new tools and dependencies in real time, and has accumulated a broad user base.

Project Preview

Light Mode

Dark Mode

API Documentation

Project Links

Project Gitee Github GitCode
Frontend vue3-element-admin vue3-element-admin vue3-element-admin
Backend youlai-boot youlai-boot youlai-boot

Environment Setup

Environment Name and Version Download Link
Development Tool VSCode Download
Runtime Environment Node ≥18 Download

Project Setup

# Clone the repository
git clone https://gitee.com/youlaiorg/vue3-element-admin.git

# Change directory
cd vue3-element-admin

# Install pnpm
npm install pnpm -g

# Install dependencies
pnpm install

# Start the project
pnpm run dev

Project Deployment

# Build the project
pnpm run build

# Upload files to the remote server
Copy the files generated in the `dist` directory to the `/usr/share/nginx/html` directory.

# nginx.cofig configuration
server {
	listen     80;
	server_name  localhost;
	location / {
			root /usr/share/nginx/html;
			index index.html index.htm;
	}
	# Reverse proxy configuration
	location /prod-api/ {
			proxy_pass http://vapi.youlai.tech/; # Replace vapi.youlai.tech with your backend API address
	}
}

Local Mock

The project supports both online API and local mock API. By default, it uses the online API. If you want to switch to the mock API, modify the value of VITE_MOCK_DEV_SERVER in the .env.development file to true.

Backend API

If you have a basic understanding of Java development, follow these steps to convert online API to local backend API and set up a full-stack development environment.

  1. Get the backend source code based on Java and SpringBoot from youlai-boot.
  2. Follow the instructions in the backend project's README.md to set up the local environment.
  3. Modify the value of VITE_APP_API_URL in the .env.development file to http://localhost:8989, replacing it with the backend API URL.

Notes

  • Auto import plugin is disabled by default

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.

  • Blank page when accessing the project

Try upgrading your browser, as older browser engines may not support certain new JavaScript syntax, such as optional chaining operator ?..

  • Red highlight on project components, functions, and imports

Restart VSCode to try again.

  • Other issues

If you have any other issues or suggestions, please open an issue.

Project Documentation

Commit Conventions

Execute pnpm run commit to invoke interactive git commit and complete the information input and selection according to the prompts.

Community 🚀

Follow "Youlai Tech" WeChat Official Account to get the QR code for the community.

If the QR code for the community has expired, please add my WeChat (haoxianrui) and indicate whether you are interested in "Frontend", "Backend", or "Full Stack" to get the latest QR code.

This measure is taken to ensure the quality of the community and prevent marketing advertising from infiltrating. Thank you for your understanding!

Official Account Community
Youlai Tech WeChat Official Account QR Code Community QR Code