Skip to content

Commit

Permalink
docs: 📝 english md
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Oct 30, 2022
1 parent 3da06af commit 371bf57
Show file tree
Hide file tree
Showing 2 changed files with 228 additions and 14 deletions.
198 changes: 198 additions & 0 deletions README.EN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
<div align="center">
<a href="https://github.com/jsxiaosi/vue-xs-admin">
<h1>vue-xs-admin</h1>
</a>
</div>

**English** | [中文](./README.md)

## Brief Introduction

The out of the box background template developed based on mainstream technologies such as `Vue3``Vite3``Element Plus`, built-in `I18n` translation, routing permission control and other solutions can meet the needs of most enterprise management systems!

Preview address: <https://www.supercutexiaosi.top/>
Account: admin
Password: admin123

## Electron Edition

- [electron-xs-admin](https://github.com/jsxiaosi/electron-xs-admin)

## Tauri Edition

- [tauri-xs-admin](https://github.com/jsxiaosi/tauri-xs-admin)

## Characteristic

- **The latest technology stack**: developed using front-end cutting-edge technologies such as Vue3/Vite3

- **Theme**: configurable theme

- **Internationalization**: built-in perfect internationalization scheme

- **Common components**: complete built-in package of common components

- **PWA**: built-in PWA

## Prepare

- [Node](http://nodejs.org/) And [Git](https://git-scm.com/) - Project development environment
- [Vite](https://cn.vitejs.dev/) - Familiar with Vite features
- [Vue3](https://v3.cn.vuejs.org/) - familiar with Vue basic syntax
- [Es6+](http://es6.ruanyifeng.com/) - familiar with the basic syntax of Es6
- [Vue-Router-Next](https://next.router.vuejs.org/zh/) - Familiar with the basic use of Vue Router
- [Element-Plus](https://element-plus.gitee.io/#/zh-CN/) - Ui Basic Usage

## Installation and use

### 1. Get project code (Https or SSH)

```bash
git clone https://github.com/jsxiaosi/vue-xs-admin.git

git clone git@github.com:jsxiaosi/vue-xs-admin.git
```

Alternatively, you can use the [`xs-cli`](https://github.com/jsxiaosi/xs-cli)to quickly create one

```bash
npx @jsxiaosi/xs-cli create [project-name]
```

### 2.Installation Dependencies

```bash
cd vue-xs-admin
```

Recommended`pnpm`

```bash
pnpm i
```

`npm` install

```bash
npm install
```

### 3.Developer

```bash
npm run dev
```

### 4.Production

```bash
npm run build
```

## Project address

- [vue-xs-admin](https://github.com/jsxiaosi/vue-xs-admin)

## How to contribute

**Pull Request:**

1. Fork Code!
2. Create your own branch: `git checkout -b feature/xxxx`
3. Submit your changes: `git commit -m 'feature: add xxxxx'`
4. Push your branch: `git push origin feature/xxxx`
5. Submit: `pull request`

## Git Contribution submission specification

- Refer to [Vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) specification

- `feat` New Features
- `fix` Repair defects
- `docs` Document change
- `style` Code format
- `refactor` Code refactoring
- `perf` Performance optimization
- `test` Add neglected tests or changes to existing tests
- `build` Build processes, external dependency changes (such as upgrading npm packages, modifying packaging configurations, etc.)
- `ci` Modify CI configuration and scripts
- `revert` Roll back the commit
- `chore` Changes to the build process or tools and libraries (do not affect source files)
- `wip` Under development
- `types` Type definition file modification

## Browser Support

Chrome 80+ is recommended for local development

Supports modern browsers, not Internet Explorer

| [<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 |
| :-: | :-: | :-: | :-: | :-: |
| not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

## Related warehouses used in the project

### Vite related

- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression/) - Resource compression supports gzip or brotli

- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import/) - Dynamically introduce component library styles

- [vite-plugin-svg-icons](https://github.com/anncwb/vite-plugin-svg-icons/) - SVG Sprite figure
- [vite-plugin-theme-preprocessor](https://github.com/GitOfZGT/vite-plugin-theme-preprocessor/) - Change the theme style dynamically
- [vite-plugin-pwa](https://vite-plugin-pwa.netlify.app/) - PWA

### Specifications related to

- [EsLint](https://eslint.org/) - js Grammar testing

- [StyleLint](https://stylelint.io/) - Style syntax checking

- [CommitLint](https://commitlint.js.org/#/) - git commit Commits a canonical detection

## Project directory Structure

```base
.
├── build #Global public configuration directory
├── public #Public static file directory
├── src #Project Code Directory
│   ├── App.vue #The vue module
│   ├── assets #Project static file directory
│   ├── components #Common components
│   ├── layouts #Layout of the directory
│   ├── locales #Internationalization Configuration
│   ├── main.js #Entrance to the file
│   ├── router #Router
│   ├── store #Pinia
│   ├── styles #Common style
│   ├── utils #Public methods
│   └── views #Directory for storing vue pages
├── LICENSE
├── README.md
├── .editorconfig #The specification compiler encodes style files
├── .env.development #Development environment variables
├── .env.production #Production environment variables
├── .env.staging #Test environment variables
├── .eslintrc.js #EsLint configuration files
├── .eslintrcignore #EsLint Ignoring configuration files
├── stylelint.config.js #StyleLint configuration files
├── .stylelintignore #StyleLint Ignoring configuration files
├── commitlint.config.js #CommitLint configuration files
├── prettier.config.js #Prettier configuration files
├── .prettierignore #Prettier Ignoring configuration files
├── index.html #The root template
├── jsconfig.json
├── package-lock.json
├── package.json
└── vite.config.js #vite configuration files
```

## maintainers

[@SuperCuteXiaoSi](https://github.com/jsxiaosi)

## License

[MIT © 2022](./LICENSE)
44 changes: 30 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
<div align="center"> <a href="https://github.com/jsxiaosi/vue-xs-admin"><h1>vue-xs-admin</h1></a>
<div align="center">
<a href="https://github.com/jsxiaosi/vue-xs-admin">
<h1>vue-xs-admin</h1>
</a>
</div>

**中文** | [English](./README.EN.md)

## 简介

基于`Vue3`,`Vite3`,`Element-Plus`等主流技术开发的开箱即用后台模板,内置 I18n 翻译、路由权限控制等方案能够满足多数企业管理系统需求!

预览地址:https://www.supercutexiaosi.top/
预览地址:<https://www.supercutexiaosi.top/>
账号:admin
密码:admin123

Expand Down Expand Up @@ -44,6 +49,12 @@ git clone https://github.com/jsxiaosi/vue-xs-admin.git
git clone git@github.com:jsxiaosi/vue-xs-admin.git
```

或者通过[`xs-cli`](https://github.com/jsxiaosi/xs-cli)快速创建

```bash
npx @jsxiaosi/xs-cli create [project-name]
```

### 2.安装依赖

```bash
Expand Down Expand Up @@ -97,14 +108,19 @@ npm run build

- 参考 [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) 规范

- `feature` 增加新功能
- `fixbug` 修复问题/BUG
- `style` 不影响程序逻辑的代码修改(修改空白字符,格式缩进,补全缺失的分号等,没有改变代码逻辑)
- `perf` 优化/性能提升
- `refactor` 重构
- `revert` 撤销修改
- `docs` 文档/注释
- `chore` 依赖更新/脚手架配置修改等
- `feat` 新增功能
- `fix` 修复缺陷
- `docs` 文档变更
- `style` 代码格式
- `refactor` 代码重构
- `perf` 性能优化
- `test` 添加疏漏测试或已有测试改动
- `build` 构建流程、外部依赖变更 (如升级 npm 包、修改打包配置等)
- `ci` 修改 CI 配置、脚本
- `revert` 回滚 commit
- `chore` 对构建过程或辅助工具和库的更改 (不影响源文件)
- `wip` 正在开发中
- `types` 类型定义文件修改

## 浏览器支持

Expand All @@ -118,13 +134,13 @@ npm run build

## 项目中使用的相关仓库

### vite 相关
### vite 相关

- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression/) - 资源压缩支持 gzip or brotli
- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression/) - 资源压缩支持 Gzip or brotli
- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import/) - 动态引入组件库样式
- [vite-plugin-svg-icons](https://github.com/anncwb/vite-plugin-svg-icons/) - svg 雪碧图
- [vite-plugin-svg-icons](https://github.com/anncwb/vite-plugin-svg-icons/) - SVG 雪碧图
- [vite-plugin-theme-preprocessor](https://github.com/GitOfZGT/vite-plugin-theme-preprocessor/) - 动态改变主题样式
- [vite-plugin-pwa](https://vite-plugin-pwa.netlify.app/) - pwa
- [vite-plugin-pwa](https://vite-plugin-pwa.netlify.app/) - PWA

### 规范相关

Expand Down

0 comments on commit 371bf57

Please sign in to comment.