You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dc3-web/README.md

67 lines
885 B

3 years ago
:boom: `IoT DC3` `Demo Web UI` 仅供接口调试使用 :boom:
4 years ago
3 years ago
:rocket: 非常欢迎广大兴趣爱好者的加入,你的 `Star` 是我们开发的动力
4 years ago
3 years ago
:seedling: 该 `Web UI` ,需要借助 `DC3` 平台服务,`https://gitee.com/pnoker/iot-dc3` 或 `https://github.com/pnoker/iot-dc3`
4 years ago
------
3 years ago
![](./dc3/images/index.png)
## 一、准备
- `nodejs` >= 12
- `git`
- `Web Storm` 或者 `Visual Studio Code`
### 配置国内 `npm` 源
> 在用户目录下创建 `.npmrc` 文件,并写入以下内容
```txt
registry=https://registry.npm.taobao.org
sass_binary_site=https://npm.taobao.org/mirrors/node-sass
```
### 安装 `yarn`
```bash
npm install -g yarn
```
## 二、源码
4 years ago
```bash
git clone https://gitee.com/pnoker/dc3-web.git
3 years ago
```
## 三、开发
```bash
4 years ago
cd dc3-web
3 years ago
# install
3 years ago
yarn
4 years ago
# run
3 years ago
yarn run serve
4 years ago
# build
3 years ago
yarn run build
3 years ago
```
4 years ago