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

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

:boom: `IoT DC3` `Demo Web UI` 仅供接口调试使用 :boom:
:rocket: 非常欢迎广大兴趣爱好者的加入,你的 `Star` 是我们开发的动力
:seedling: 该 `Web UI` ,需要借助 `DC3` 平台服务,`https://gitee.com/pnoker/iot-dc3` 或 `https://github.com/pnoker/iot-dc3`
------
![](./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
```
## 二、源码
```bash
git clone https://gitee.com/pnoker/dc3-web.git
```
## 三、开发
```bash
cd dc3-web
# install
yarn
# run
yarn run serve
# build
yarn run build
```