diff --git a/tests/server/README.md b/tests/server/README.md index 215348ae07880c80042849f1d4efb47b200e94e9..547a882eb7c3b3fd776997729261770436aa2b69 100644 --- a/tests/server/README.md +++ b/tests/server/README.md @@ -1,16 +1,64 @@ -# Test Server -It is used to start the test interface service, which can test the upload, -websocket, login and other interfaces. -## Usage +README.md 文件内容如下: -```bash +```markdown +# thingsboard-ui-vue + +Thingsboard UI Vue 是一个基于 Vue 3 和 Vite 的管理界面,主要用于 Thingsboard 平台的前端部分,提供了一套完整的组件和工具,适用于构建现代化的 Web 应用。 -cd ./tests/server +## 预览地址 +你可以通过以下链接访问预览: +[预览链接] +## 使用技术 +- Vue 3 +- Vite +- TypeScript +- Ant Design Vue +- Axios +- Vue Router +- Pinia(状态管理) +- ECharts(图表) +- CodeMirror(代码编辑器) +- 其他现代前端技术栈 + +## 启动 +### 安装依赖 +确保已安装 Node.js 和 Yarn,然后运行: +```bash yarn install +``` + +### 开发环境运行 +```bash +yarn dev +``` -yarn serve +### 编译打包后运行访问 +```bash +yarn build +yarn preview +``` +## 代理设置 +可在配置文件中设置多个代理,格式为 `[访问接口的根路径, 代理地址, 是否保持Host头]`,适用于开发环境接口请求。 + +## 打包 +使用以下命令进行打包: +```bash +yarn build ``` + +## 规则引擎 +支持规则引擎配置,用于构建复杂的业务逻辑处理。 + +## 预览图片 +项目中包含可视化预览图片,用于展示UI效果。 + +## 🙋‍♂️ 联系我们 +如果你有任何问题或建议,请联系: +- 邮箱: [你的邮箱] +- Gitee: [项目Gitee链接] + +``` \ No newline at end of file