halo-admin/README.md

51 lines
1.6 KiB
Markdown
Raw Normal View History

## README
2021-12-10 16:57:06 +00:00
<p align="center">
<a href="https://halo.run" target="_blank" rel="noopener noreferrer">
<img width="100" src="https://halo.run/logo" alt="Halo logo" />
</a>
</p>
2019-06-04 11:52:03 +00:00
> Halo 2.0 的管理端项目(原 halo-admin
2019-03-18 16:35:13 +00:00
<p align="center">
<a href="https://github.com/halo-dev/console/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/halo-dev/console.svg?style=flat-square" /></a>
<a href="https://github.com/halo-dev/console/blob/master/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/halo-dev/console?style=flat-square"></a>
<a href="https://github.com/halo-dev/console/commits"><img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/halo-dev/console.svg?style=flat-square"></a>
<a href="https://github.com/halo-dev/console/actions"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/halo-dev/console/main.yml?branch=main&style=flat-square"/></a>
<a href="https://gitpod.io/#https://github.com/halo-dev/console"><img alt="Gitpod ready-to-code" src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square"/></a>
</p>
2019-06-04 11:52:03 +00:00
------------------------------
2019-03-18 16:35:13 +00:00
当前仓库已经将 `halo-admin` 改为了 `console`。但对于 Halo 1.x 版本,依旧保持 halo-admin 的概念。
2021-12-10 16:57:06 +00:00
## 开发环境运行
2019-06-04 11:52:03 +00:00
```bash
# pnpm@7.0.0+
2021-12-10 16:57:06 +00:00
npm install -g pnpm
2019-03-18 16:35:13 +00:00
```
2019-06-04 11:52:03 +00:00
```bash
2021-12-10 16:57:06 +00:00
pnpm install
2019-03-18 16:35:13 +00:00
```
```bash
pnpm build:packages
```
2019-06-04 11:52:03 +00:00
```bash
pnpm dev
2021-12-10 16:57:06 +00:00
```
2019-03-18 16:35:13 +00:00
2021-12-10 16:57:06 +00:00
## 生产构建
2021-12-10 16:57:06 +00:00
```bash
pnpm build
```
## 状态
![Repobeats analytics](https://repobeats.axiom.co/api/embed/2db66f0e740d300f1bc6417d4465594755a5545d.svg "Repobeats analytics image")