2021-02-28 02:08:07 +08:00
|
|
|
|
<p align="center">
|
2021-03-01 15:20:21 +08:00
|
|
|
|
<a href="https://show.cool-admin.com/" target="blank"><img src="https://admin.cool-js.com/logo.png" width="200" alt="cool-admin Logo" /></a>
|
2021-02-28 02:08:07 +08:00
|
|
|
|
</p>
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
2021-02-28 02:08:07 +08:00
|
|
|
|
<p align="center">cool-admin 一个很酷的后台权限管理系统,开源免费,模块化、插件化、极速开发 CRUD,方便快速构建迭代后台管理系统, 到论坛 进一步了解</p>
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
2021-02-28 02:08:07 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
<a href="https://github.com/cool-team-official/cool-admin-vue/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="GitHub license" />
|
|
|
|
|
<a href=""><img src="https://img.shields.io/github/package-json/v/cool-team-official/cool-admin-vue?style=flat-square" alt="GitHub tag"></a>
|
|
|
|
|
<img src="https://img.shields.io/github/last-commit/cool-team-official/cool-admin-vue?style=flat-square" alt="GitHub tag"></a>
|
|
|
|
|
</p>
|
|
|
|
|
|
2021-03-01 00:42:34 +08:00
|
|
|
|
## 演示
|
|
|
|
|
|
|
|
|
|
[https://show.cool-admin.com](https://show.cool-admin.com)
|
|
|
|
|
|
|
|
|
|
- 账户:admin
|
|
|
|
|
- 密码:123456
|
|
|
|
|
|
|
|
|
|
<img src="https://cool-show.oss-cn-shanghai.aliyuncs.com/admin/home-mini.png" alt="Admin Home"></a>
|
|
|
|
|
|
2021-03-01 15:20:21 +08:00
|
|
|
|
## 前端项目
|
2021-03-01 00:42:34 +08:00
|
|
|
|
|
|
|
|
|
[https://github.com/cool-team-official/cool-admin-vue](https://github.com/cool-team-official/cool-admin-vue)
|
|
|
|
|
|
2021-02-28 02:08:07 +08:00
|
|
|
|
## 在线社区
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
2021-03-01 15:20:21 +08:00
|
|
|
|
[https://bbs.cool-js.com/](https://bbs.cool-js.com/)
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
2021-02-28 02:08:07 +08:00
|
|
|
|
## 条件
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
2021-03-01 15:20:21 +08:00
|
|
|
|
请确保您的操作系统上安装了 Node.js(> = 8.9.0)、@vue/cli (> 3.0.0)。
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
|
|
|
|
## 安装项目依赖
|
|
|
|
|
|
|
|
|
|
推荐使用 `yarn`:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
yarn
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
解决 `node-sass` 网络慢的方法:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass
|
|
|
|
|
```
|
|
|
|
|
|
2021-02-28 22:24:54 +08:00
|
|
|
|
## 安装 cool/modules 模块的依赖
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
|
|
|
|
安装 `cl-admin-cli` 脚手架:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
npm install cl-admin-cli -g
|
|
|
|
|
```
|
|
|
|
|
|
2021-02-28 22:24:54 +08:00
|
|
|
|
安装模块依赖:
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
cl install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 运行应用程序
|
|
|
|
|
|
|
|
|
|
安装过程完成后,运行以下命令启动服务。您可以在浏览器中预览网站 [http://localhost:9000](http://localhost:9000)
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
yarn serve
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 分析包内容
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
yarn report
|
|
|
|
|
```
|