暖通平台前端

wangshun a922ff0331 perf(views): 修复"创建组织"步骤设备类型查询异常问题 vor 1 Woche
.husky 40f4807a62 chore(config): 添加 commitlint 配置 vor 3 Monaten
.vscode b115149fd5 chore(config): 移除 element-plus 配置 vor 3 Monaten
cypress 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
public 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
src a922ff0331 perf(views): 修复"创建组织"步骤设备类型查询异常问题 vor 1 Woche
.commitlintrc.cjs 9142be5b77 chore(icons): 添加 iconfont vor 3 Monaten
.editorconfig 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
.env.development 7199184553 chore(api): 封装接口请求函数 vor 3 Monaten
.env.production 1e6cdc2a4e chore(config): 更新生产环境变量 vor 1 Monat
.env.test 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
.gitignore 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
.lintstagedrc.cjs 6cb529a7b4 chore: 添加 husky 和 lintstaged 配置 vor 3 Monaten
.prettierignore 9142be5b77 chore(icons): 添加 iconfont vor 3 Monaten
.prettierrc.json 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
.stylelintignore 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
.stylelintrc.cjs 27fae83b71 chore(config): 禁用 stylelint 样式优先级规则 vor 1 Monat
CHANGELOG.md 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
README.md 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
cypress.config.ts 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
eslint.config.js 3816aad32f feat(components): 添加图标组件 vor 3 Monaten
index.html 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
package.json 59da85e944 chore(config): 新增依赖"vue-color-kit“,颜色选择器 vor 3 Wochen
pnpm-lock.yaml 59da85e944 chore(config): 新增依赖"vue-color-kit“,颜色选择器 vor 3 Wochen
tsconfig.app.json 135971ead5 chore(config): 配置 meta2d 类型 vor 2 Monaten
tsconfig.json 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
tsconfig.node.json 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
tsconfig.vitest.json 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
uno.config.ts 4fe30a9ae7 init: 初始化项目 vor 4 Monaten
vite.config.ts b115149fd5 chore(config): 移除 element-plus 配置 vor 3 Monaten
vitest.config.ts 4fe30a9ae7 init: 初始化项目 vor 4 Monaten

README.md

暖通平台

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Type-Check, Compile and Minify for Production

pnpm build

Run Unit Tests with Vitest

pnpm test:unit

Run End-to-End Tests with Cypress

pnpm test:e2e:dev

This runs the end-to-end tests against the Vite development server. It is much faster than the production build.

But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):

pnpm build
pnpm test:e2e

Lint with ESLint

pnpm lint