2021-02-28 02:08:07 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
<a href="https://midwayjs.org/" target="blank"><img src="https://admin.cool-js.com/logo.png" width="200" alt="cool-admin Logo" /></a>
|
|
|
|
|
</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-02-28 01:55:04 +08:00
|
|
|
|
|
|
|
|
|
支持所有符合 ES5 标准的浏览器(不支持 IE8 及以下版本).
|
|
|
|
|
|
2021-02-28 02:08:07 +08:00
|
|
|
|
## 在线社区
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
|
|
|
|
[传送门](https://bbs.cool-js.com/)
|
|
|
|
|
|
2021-02-28 02:08:07 +08:00
|
|
|
|
## 条件
|
2021-02-28 01:55:04 +08:00
|
|
|
|
|
|
|
|
|
请确保您的操作系统上安装了 Node.js(> = 8.9.0)、@vue/cli。
|
|
|
|
|
|
|
|
|
|
## 安装项目依赖
|
|
|
|
|
|
|
|
|
|
推荐使用 `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
|
|
|
|
|
```
|