Skip to content

Commit ea1a591

Browse files
committed
Merge branch 'main' of github.com:midfar/vue3-element-admin
2 parents b9df879 + 6b129c6 commit ea1a591

File tree

1 file changed

+112
-0
lines changed

1 file changed

+112
-0
lines changed

README.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,115 @@
1+
# Vue3 Element Admin Template
2+
3+
## Introduction
4+
5+
This template is built with the latest Vue 3 framework and the Element Plus UI library. It uses Vite as the build tool, Pinia for state management, Vue Router for routing, Mock.js for data simulation, and integrates TypeScript.
6+
The functionality is ported from **Vue Element Admin**. For detailed usage instructions, please refer to [this documentation](https://vue3-element-admin-site.midfar.com/guide/essentials/router-and-nav.html).
7+
8+
## Features
9+
10+
- **Latest Technology Stack**: Developed using cutting-edge front-end technologies such as Vue 3 and Vite 3
11+
- **TypeScript**: A superset of JavaScript designed for application-scale development
12+
- **Mock Data**: Built-in mock data solution
13+
- **Permission System**: Comprehensive dynamic route and permission generation
14+
- **Components**: Multiple commonly used components are re-encapsulated for ease of use
15+
16+
## Live Demo
17+
18+
[Vue3 Element Admin](https://vue3-element-admin.midfar.com/)
19+
20+
## Prerequisites
21+
22+
Before development, please ensure you are familiar with and proficient in the following technologies:
23+
24+
- Vue: https://vuejs.org/
25+
- TypeScript: https://www.typescriptlang.org/
26+
- Element Plus: https://element-plus.org/
27+
- Pinia: https://pinia.vuejs.org/
28+
- Vue Router: https://router.vuejs.org/
29+
30+
> Note: Make sure to read all of the above documentation before starting development.
31+
> For production projects, please update this README accordingly.
32+
33+
## Recommended IDE & Plugins
34+
35+
[VSCode](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
36+
(Disable old plugins such as Vetur and the legacy Volar)
37+
38+
## Vite Build Tool Configuration
39+
40+
Refer to the [Vite Configuration Guide](https://vitejs.dev/config/)
41+
42+
## Project Structure
43+
44+
```
45+
- mock // Mock data
46+
- public
47+
- src
48+
- components // Common components
49+
- views // Views (pages)
50+
- tableTemplates // Example module
51+
- index.ts
52+
- login // Login module
53+
- index.vue
54+
- settings.ts // Global configuration
55+
- main.ts // Entry file
56+
- types // TypeScript types
57+
- package.json
58+
- CODE_OF_CONDUCT.md // Code of conduct for framework development
59+
- README.md // User guide for the framework
60+
```
61+
62+
## Usage
63+
64+
### Ensure your local Node.js version is >= 20
65+
This project is tested with Node.js v20.18.0.
66+
67+
```sh
68+
node -v
69+
```
70+
71+
### Install dependencies
72+
73+
```sh
74+
npm install
75+
```
76+
77+
### Development mode (connect to test server)
78+
79+
```sh
80+
npm run dev:test
81+
```
82+
83+
### Build for test server
84+
85+
```sh
86+
npm run build:test
87+
```
88+
89+
### Code linting with [ESLint](https://eslint.org/)
90+
91+
```sh
92+
npm run lint
93+
```
94+
95+
## Supported Browsers
96+
97+
Modern browsers:
98+
99+
| Chrome | Edge | Firefox | Safari |
100+
| --------------- | --------------- | --------------- | --------------- |
101+
| Chrome ≥ 85 | Edge ≥ 85 | Firefox ≥ 79 | Safari ≥ 14.1 |
102+
103+
## Contributing
104+
105+
We warmly welcome your contributions! You can help improve this base framework in the following ways:
106+
107+
- Contact the maintainer at **[email protected]**
108+
- Submit a PR
109+
- Fix bugs
110+
- Share best practices and case studies
111+
112+
1113
## 简介
2114

3115
这个模板使用了最新的 vue3 和 element-plus UI 框架,vite 构建工具、pinia 状态管理、vue-router 路由管理、mockjs 数据模拟,并集成了 typescript。功能从 Vue Element Admin 移植而来,详细使用可以参考[该文档](https://vue3-element-admin-site.midfar.com/zh/guide/essentials/router-and-nav.html)

0 commit comments

Comments
 (0)