vue-pure-admin2/README.en-US.md

180 lines
9.3 KiB
Markdown
Raw Normal View History

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
**English** | [中文](./README.md)
2021-04-13 18:37:47 +08:00
## Introduction
2021-04-13 18:37:47 +08:00
2022-11-08 00:48:16 +08:00
`vue-pure-admin` is an open source free and out-of-the-box middle and background management system template. Developed using the latest mainstream technologies such as `Vue3`, `Vite`, `Element-Plus`, `TypeScript`, `Pinia`, `Tailwindcss`
2021-04-13 18:37:47 +08:00
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
2023-02-08 18:07:05 +08:00
- [Click me to view the non-internationalized version](https://github.com/pure-admin/pure-admin-thin)
- [Click me to view Internationalization version](https://github.com/pure-admin/pure-admin-thin/tree/i18n)
2022-11-27 18:14:44 +08:00
2021-11-14 08:46:43 +08:00
## Supporting Video
2021-10-18 22:04:57 +08:00
2022-11-18 22:40:32 +08:00
- [Click Watch Tutorial](https://www.bilibili.com/video/BV1kg411v7QT)
2022-01-09 18:44:23 +08:00
- [Click Watch UI Design](https://www.bilibili.com/video/BV17g411T7rq)
2021-10-18 22:04:57 +08:00
2023-05-22 16:40:13 +08:00
## Docs
2021-11-28 23:43:52 +08:00
2023-05-26 12:21:41 +08:00
- [documentation site](https://yiming_chang.gitee.io/pure-admin-doc)
2021-11-28 23:43:52 +08:00
2022-04-19 15:31:08 +08:00
## Tauri
2023-02-08 18:07:05 +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
2023-02-08 18:07:05 +08:00
- [Click Watch Electron](https://github.com/pure-admin/electron-pure-admin)
2022-11-14 12:09:10 +08:00
## Preview
2021-04-13 18:37:47 +08:00
2023-05-26 12:21:41 +08:00
- [preview station](https://yiming_chang.gitee.io/vue-pure-admin)
2021-04-13 18:37:47 +08:00
2022-08-18 00:20:04 +08:00
- PC
2021-04-13 18:37:47 +08:00
<p align="center">
2022-08-18 00:20:04 +08:00
<img alt="PureAdmin Logo" width="100%" src="https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/d45c15ccbe674fe291a4faa528d11eda~tplv-k3u1fbpfcp-zoom-in-crop-mark:3024:0:0:0.awebp?">
</p>
- DarkMode
<p align="center">
<img alt="PureAdmin Logo" width="100%" src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/10a351f0d9c94b90ba3b408a786b9ede~tplv-k3u1fbpfcp-zoom-in-crop-mark:3024:0:0:0.awebp?">
</p>
- Mobile
<p align="center">
<img alt="PureAdmin Logo" width="100%" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/3061c7b92f6d4cb4bcdf227d966ac696~tplv-k3u1fbpfcp-zoom-in-crop-mark:3024:0:0:0.awebp?">
2021-04-13 18:37:47 +08:00
</p>
### Use Gitpod
2021-04-13 18:37:47 +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
## Install and use
2021-04-13 18:37:47 +08:00
- Get the project code
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
2021-04-13 18:37:47 +08:00
or
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
```
- Installation 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
```
- run
2021-04-13 18:37:47 +08:00
```bash
2021-11-03 14:16:34 +08:00
pnpm serve
2021-04-13 18:37:47 +08:00
```
- build
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">
<img alt="docker" width="100%" src="https://yiming_chang.gitee.io/pure-admin-doc/img/docker/1.jpg">
</p>
## Change Log
2021-04-13 18:37:47 +08:00
[CHANGELOG](./CHANGELOG.en_US.md)
2021-04-13 18:37:47 +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:**
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
## Git Contribution submission specification
2021-04-13 18:37:47 +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))
2021-04-13 18:37:47 +08:00
- `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
## Browser support
2021-04-13 18:37:47 +08:00
The `Chrome 80+` browser is recommended for local development
2021-04-13 18:37:47 +08:00
Support modern browsers, not IE
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
## 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-05-22 16:40:13 +08:00
In principle, no fees and copyrights are charged, and it is commercially available, but if you need secondary open source (such as using this platform for secondary development and open source, the front-end code must be open source and free), please contact the author for permission! (Free, just take a record)
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-02-08 18:07:05 +08:00
[![Stargazers for vue-pure-admin](https://reporoster.com/stars/pure-admin/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-02-08 18:07:05 +08:00
[![Forkers repo roster for vue-pure-admin](https://reporoster.com/forks/pure-admin/vue-pure-admin)](https://github.com/pure-admin/vue-pure-admin/network/members)