2021-04-13 18:37:47 +08:00
< h1 > vue-pure-admin< / h1 >
2023-02-08 18:07:05 +08:00
![GitHub license ](https://img.shields.io/github/license/pure-admin/vue-pure-admin?style=flat )
![GitHub stars ](https://img.shields.io/github/stars/pure-admin/vue-pure-admin?color=fa6470&style=flat )
![GitHub forks ](https://img.shields.io/github/forks/pure-admin/vue-pure-admin?style=flat )
2021-04-13 18:37:47 +08:00
2021-08-27 12:25:02 +08:00
**English** | [中文 ](./README.md )
2021-04-13 18:37:47 +08:00
2021-08-27 12:25:02 +08:00
## Introduction
2021-04-13 18:37:47 +08:00
2023-12-12 16:27:27 +08:00
`vue-pure-admin` is an open source, free and out-of-the-box middle and backend management system template. Completely adopts `ECMAScript` module (`ESM`) specifications to write and organize code, using the latest `Vue3` , `Vite` , `Element-Plus` , `TypeScript` , `Pinia` , `Tailwindcss` and other mainstream technologies develop
2021-04-13 18:37:47 +08:00
2024-05-29 11:06:01 +08:00
## R&D philosophy
Seek innovation in stability and see the future in technology
2022-11-27 18:14:44 +08:00
## Thin version (offering non-internationalized and internationalized versions)
2023-02-08 18:07:05 +08:00
The simplified version is based on the shelf extracted from [vue-pure-admin ](https://github.com/pure-admin/vue-pure-admin ), which contains main functions and is more suitable for actual project development. The packaged size is introduced globally [element-plus ](https://element-plus.org ) is still below `2.3MB` , and the full version of the code will be permanently synchronized. After enabling `brotli` compression and `cdn` to replace the local library mode, the package size is less than `350kb`
2022-11-27 18:14:44 +08:00
2024-01-03 16:12:28 +08:00
[Click to view the non-internationalized version ](https://github.com/pure-admin/pure-admin-thin )
[Click to view Internationalization version ](https://github.com/pure-admin/pure-admin-thin/tree/i18n )
2022-11-27 18:14:44 +08:00
2024-03-23 00:38:16 +08:00
## Supporting video
2021-10-18 22:04:57 +08:00
2024-03-23 00:38:16 +08:00
[Click me to view UI design ](https://www.bilibili.com/video/BV17g411T7rq )
2024-03-28 22:56:41 +08:00
[Click me to view the rapid development tutorial ](https://www.bilibili.com/video/BV1kg411v7QT )
2021-10-18 22:04:57 +08:00
2024-03-23 00:38:16 +08:00
## Nanny-level documents
2021-11-28 23:43:52 +08:00
2024-05-03 00:00:35 +08:00
[Click me to view vue-pure-admin documentation ](https://pure-admin.github.io/pure-admin-doc )
2024-03-23 00:38:16 +08:00
[Click me to view @pureadmin/utils documentation ](https://pure-admin-utils.netlify.app )
2021-11-28 23:43:52 +08:00
2024-03-04 01:05:43 +08:00
## Quality service, software outsourcing, sponsorship support
2024-05-03 00:00:35 +08:00
[Click me for details ](https://pure-admin.github.io/pure-admin-doc/pages/service/ )
2024-03-04 01:05:43 +08:00
2022-04-19 15:31:08 +08:00
## Tauri
2024-01-03 16:12:28 +08:00
[Click Watch Tauri ](https://github.com/pure-admin/tauri-pure-admin )
2022-04-19 15:31:08 +08:00
2022-11-14 12:09:10 +08:00
## Electron
2024-01-03 16:12:28 +08:00
[Click Watch Electron ](https://github.com/pure-admin/electron-pure-admin )
2022-11-14 12:09:10 +08:00
2021-08-27 12:25:02 +08:00
## Preview
2021-04-13 18:37:47 +08:00
2024-05-03 00:00:35 +08:00
[preview station ](https://pure-admin.github.io/vue-pure-admin )
2024-01-03 16:12:28 +08:00
`PC`
2021-04-13 18:37:47 +08:00
< p align = "center" >
2024-01-03 16:12:28 +08:00
< img alt = "PureAdmin" src = "https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/1.jpg" >
2024-01-08 00:55:01 +08:00
< br / >
2024-01-03 16:12:28 +08:00
< img alt = "PureAdmin" src = "https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/2.jpg" >
2022-08-18 00:20:04 +08:00
< / p >
2024-01-03 16:12:28 +08:00
`DarkMode`
2022-08-18 00:20:04 +08:00
< p align = "center" >
2024-01-03 16:12:28 +08:00
< img alt = "PureAdmin" src = "https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/3.jpg" >
2024-01-08 00:55:01 +08:00
< br / >
< img alt = "PureAdmin" src = "https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/4.jpg" >
2022-08-18 00:20:04 +08:00
< / p >
2024-01-03 16:12:28 +08:00
`Mobile`
2022-08-18 00:20:04 +08:00
< p align = "center" >
2024-01-08 00:55:01 +08:00
< img alt = "PureAdmin" src = "https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/5.jpg" >
2021-04-13 18:37:47 +08:00
< / p >
2021-08-27 12:25:02 +08:00
### Use Gitpod
2021-04-13 18:37:47 +08:00
2021-08-27 12:25:02 +08:00
Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.
2021-04-13 18:37:47 +08:00
2023-02-08 18:07:05 +08:00
[![Open in Gitpod ](https://gitpod.io/button/open-in-gitpod.svg )](https://gitpod.io/#https://github.com/pure-admin/vue-pure-admin)
2021-04-13 18:37:47 +08:00
2024-01-03 16:12:28 +08:00
## Install And Use
### Pull code
#### It is recommended to use `@pureadmin/cli` scaffolding
< br / >
< img src = "https://xiaoxian521.github.io/hyperlink/gif/pure-admin-cli.gif" alt = "pure-admin-cli" / >
2021-04-13 18:37:47 +08:00
2024-01-03 16:12:28 +08:00
1. Global installation
```bash
npm install -g @pureadmin/cli
```
2. Interactively select templates and create projects
```bash
pure create
```
[Click to view the detailed usage of @pureadmin/cli scaffolding ](https://github.com/pure-admin/pure-admin-cli#pureadmincli )
#### Pull from `GitHub`
2021-04-13 18:37:47 +08:00
```bash
2023-02-08 18:07:05 +08:00
git clone https://github.com/pure-admin/vue-pure-admin.git
2024-01-03 16:12:28 +08:00
```
#### Pulled from `Gitee`
```bash
2022-02-18 16:12:40 +08:00
git clone https://gitee.com/yiming_chang/vue-pure-admin.git
2021-04-13 18:37:47 +08:00
```
2024-01-03 16:12:28 +08:00
### Install dependencies
2021-04-13 18:37:47 +08:00
```bash
cd vue-pure-admin
2021-11-03 14:16:34 +08:00
pnpm install
2021-04-13 18:37:47 +08:00
```
2024-01-03 16:12:28 +08:00
### Run platform
2021-04-13 18:37:47 +08:00
```bash
2024-01-03 16:12:28 +08:00
pnpm dev
2021-04-13 18:37:47 +08:00
```
2024-01-03 16:12:28 +08:00
### Project packaging
2021-04-13 18:37:47 +08:00
```bash
2021-11-03 14:16:34 +08:00
pnpm build
2021-04-13 18:37:47 +08:00
```
2023-05-31 18:18:27 +08:00
## Docker support
1. Customize the image named `vue-pure-admin` (please note that there is a dot `.` at the end of the command below, indicating that the `Dockerfile` file in the current path is used, and the path can be specified according to the actual situation)
```bash
docker build -t vue-pure-admin .
```
2. Port mapping and start the `docker` container (`8080:80`: indicates that the `80` port is used in the container, and the port is forwarded to the `8080` port of the host; `pure-admin` : indicates a custom container name; `vue-pure-admin` : indicates the custom image name)
```bash
docker run -dp 8080:80 --name pure-admin vue-pure-admin
```
After operating the above two commands, open `http://localhost:8080` in the browser to preview
Of course, you can also operate the `docker` project through the [Docker Desktop ](https://www.docker.com/products/docker-desktop/ ) visual interface, as shown below
< p align = "center" >
2024-01-17 11:05:35 +08:00
< img alt = "docker-desktop" width = "100%" src = "https://xiaoxian521.github.io/hyperlink/img/docker-desktop.jpg" >
2023-05-31 18:18:27 +08:00
< / p >
2021-08-27 12:25:02 +08:00
## Change Log
2021-04-13 18:37:47 +08:00
2021-08-27 12:25:02 +08:00
[CHANGELOG ](./CHANGELOG.en_US.md )
2021-04-13 18:37:47 +08:00
2021-08-27 12:25:02 +08:00
## How to contribute
2021-04-13 18:37:47 +08:00
2023-02-08 18:07:05 +08:00
You are very welcome to join! [Raise an issue](https://github.com/pure-admin/vue-pure-admin/issues/new/choose) Or submit a Pull Request
2021-04-13 18:37:47 +08:00
**Pull Request:**
2021-08-27 12:25:02 +08:00
1. Fork code!
2. Create your own branch: `git checkout -b feat/xxxx`
3. Submit your changes: `git commit -am 'feat(function): add xxxxx'`
4. Push your branch: `git push origin feat/xxxx`
5. submit`pull request`
2021-04-13 18:37:47 +08:00
2024-03-12 18:52:28 +08:00
## Special code contributions
Thank you very much for your in-depth understanding of the source code and your outstanding contributions to the `pure-admin` organization ❤️
2024-03-21 13:01:36 +08:00
| **Contributor** | **SpecificCode** |
2024-03-12 18:52:28 +08:00
| :---------------------------------------------: | :------------------------------------------------------------------------------: |
2024-04-12 21:34:45 +08:00
| [hb0730 ](https://github.com/hb0730 ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=hb0730 ) |
| [o-cc ](https://github.com/o-cc ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=o-cc ) |
| [yj-liuzepeng ](https://github.com/yj-liuzepeng ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=yj-liuzepeng ) |
| [skyline523 ](https://github.com/skyline523 ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=skyline523 ) |
| [shark-lajiao ](https://github.com/shark-lajiao ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=shark-lajiao ) |
| [WitMiao ](https://github.com/WitMiao ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=WitMiao ) |
| [QFifteen ](https://github.com/QFifteen ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=QFifteen ) |
2024-05-03 00:00:35 +08:00
| [edgexie ](https://github.com/edgexie ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=edgexie ) |
2024-06-04 13:49:52 +08:00
| [way-jm ](https://github.com/way-jm ) | [code ](https://github.com/pure-admin/vue-pure-admin/commits?author=way-jm ) |
2024-03-12 18:52:28 +08:00
2021-08-27 12:25:02 +08:00
## Git Contribution submission specification
2021-04-13 18:37:47 +08:00
2024-01-03 16:12:28 +08:00
reference [vue ](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md ) specification ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular))
- `feat` Add new features
- `fix` Fix the problem/BUG
- `style` The code style is related and does not affect the running result
- `perf` Optimization/performance improvement
- `refactor` Refactor
- `revert` Undo edit
- `test` Test related
- `docs` Documentation/notes
- `chore` Dependency update/scaffolding configuration modification etc.
- `workflow` Workflow improvements
- `ci` Continuous integration
- `types` Type definition file changes
- `wip` In development
2021-04-13 18:37:47 +08:00
2021-08-27 12:25:02 +08:00
## Browser support
2021-04-13 18:37:47 +08:00
2024-01-03 16:12:28 +08:00
It is recommended to use `Chrome` , `Edge` , and `Firefox` browsers for local development. The author commonly uses the latest version of `Chrome` browser.
In actual use, I feel that `Firefox` is smoother in animation than other browsers, but the author is used to using `Chrome` . It depends on personal preference.
For more detailed browser compatibility support, please see [Which browsers does Vue support? ](https://vuejs.org/about/faq.html#what-browsers-does-vue-support ) and [Vite browser compatibility ](https://vitejs.dev/guide/build.html#browser-compatibility )
2021-04-13 18:37:47 +08:00
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" /> ](http://godban.github.io/browsers-support-badges/ )</ br > IE | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" /> ](http://godban.github.io/browsers-support-badges/ )</ br > Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" /> ](http://godban.github.io/browsers-support-badges/ )</ br > Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" /> ](http://godban.github.io/browsers-support-badges/ )</ br > Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" /> ](http://godban.github.io/browsers-support-badges/ )</ br > Safari |
2021-04-24 00:45:00 +08:00
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
2021-04-13 18:37:47 +08:00
2021-08-27 12:25:02 +08:00
## Maintainer
2021-04-13 18:37:47 +08:00
2022-04-18 12:55:44 +08:00
[xiaoxian521 ](https://github.com/xiaoxian521 )、[Ten-K](https://github.com/Ten-K)
2021-04-13 18:37:47 +08:00
## License
2023-12-28 18:46:43 +08:00
Completely free and open source
2021-10-22 17:49:48 +08:00
2023-05-01 12:42:01 +08:00
[MIT © 2020-present, pure-admin ](./LICENSE )
2021-10-21 09:51:01 +08:00
2022-11-22 11:52:10 +08:00
## `Star`
2022-11-22 11:15:50 +08:00
Many thanks to the kind individuals who leave a star. Your support is much appreciated :heart:
2023-11-10 13:16:05 +08:00
[![Stargazers repo roster for @pure-admin/vue-pure-admin ](https://bytecrank.com/nastyox/reporoster/php/stargazersSVG.php?user=pure-admin&repo=vue-pure-admin )](https://github.com/pure-admin/vue-pure-admin/stargazers)
2022-11-22 11:52:10 +08:00
## `Fork`
It's so cool that you study hard :heart:
2023-11-10 13:16:05 +08:00
[![Forkers repo roster for @pure-admin/vue-pure-admin ](https://bytecrank.com/nastyox/reporoster/php/forkersSVG.php?user=pure-admin&repo=vue-pure-admin )](https://github.com/pure-admin/vue-pure-admin/network/members)