太湖风浪模拟

viviandjava 63b4afcfe1 挂载二级菜单蓝泰图片 9 月之前
cypress e386e465b4 first commit 10 月之前
public 37dc2a1277 地听视频、断面弹窗、地板交互 9 月之前
src 63b4afcfe1 挂载二级菜单蓝泰图片 9 月之前
.editorconfig e386e465b4 first commit 10 月之前
.gitignore e386e465b4 first commit 10 月之前
.prettierrc.json e386e465b4 first commit 10 月之前
README.md e386e465b4 first commit 10 月之前
cypress.config.ts e386e465b4 first commit 10 月之前
env.d.ts 9ca684fe1d 更新 10 月之前
eslint.config.js 9ca684fe1d 更新 10 月之前
index.html b55b2789f0 完成视频接入 9 月之前
package-lock.json 4ae3ba2654 完成断面修改,标题修改等 9 月之前
package.json 4ae3ba2654 完成断面修改,标题修改等 9 月之前
tsconfig.app.json e386e465b4 first commit 10 月之前
tsconfig.json 9ca684fe1d 更新 10 月之前
tsconfig.node.json e386e465b4 first commit 10 月之前
tsconfig.vitest.json e386e465b4 first commit 10 月之前
vite.config.ts 37dc2a1277 地听视频、断面弹窗、地板交互 9 月之前
vitest.config.ts e386e465b4 first commit 10 月之前

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