太湖风浪模拟

viviandjava c75d1913cd 站房页面 9 luni în urmă
cypress e386e465b4 first commit 10 luni în urmă
public b669352b86 更新,完成站点详情界面样式展示 10 luni în urmă
src c75d1913cd 站房页面 9 luni în urmă
.editorconfig e386e465b4 first commit 10 luni în urmă
.gitignore e386e465b4 first commit 10 luni în urmă
.prettierrc.json e386e465b4 first commit 10 luni în urmă
README.md e386e465b4 first commit 10 luni în urmă
cypress.config.ts e386e465b4 first commit 10 luni în urmă
env.d.ts 9ca684fe1d 更新 10 luni în urmă
eslint.config.js 9ca684fe1d 更新 10 luni în urmă
index.html b669352b86 更新,完成站点详情界面样式展示 10 luni în urmă
package-lock.json 2395ef359e 智慧运维新增底板回调交互,点击仪器跳转仪器界面 9 luni în urmă
package.json 891631f5a9 修改智慧运维界面、添加设备界面 9 luni în urmă
tsconfig.app.json e386e465b4 first commit 10 luni în urmă
tsconfig.json 9ca684fe1d 更新 10 luni în urmă
tsconfig.node.json e386e465b4 first commit 10 luni în urmă
tsconfig.vitest.json e386e465b4 first commit 10 luni în urmă
vite.config.ts 680c7ff680 添加底板时间、天气、远近交互。添加接口数据对接。按钮组添加子组 10 luni în urmă
vitest.config.ts e386e465b4 first commit 10 luni în urmă

README.md

太湖流域国家基本水文站(tba-nbhs)

TBA National Basic Hydrological Station

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.

项目设置

npm install

用于开发的 Compile 和 Hot-Reload

npm run dev

用于生产的类型检查、编译和缩小

npm run build

Run Unit Tests with Vitest

npm run test:unit

Run End-to-End Tests with Cypress

npm run 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):

npm run build
npm run test:e2e

Lint with ESLint

npm run lint