太湖风浪模拟

linqilong b918dc8efa 新增 map 底图,界面调整 6 maanden geleden
.vscode e386e465b4 first commit 6 maanden geleden
cypress e386e465b4 first commit 6 maanden geleden
public e386e465b4 first commit 6 maanden geleden
src b918dc8efa 新增 map 底图,界面调整 6 maanden geleden
.editorconfig e386e465b4 first commit 6 maanden geleden
.gitignore e386e465b4 first commit 6 maanden geleden
.prettierrc.json e386e465b4 first commit 6 maanden geleden
README.md e386e465b4 first commit 6 maanden geleden
cypress.config.ts e386e465b4 first commit 6 maanden geleden
env.d.ts e386e465b4 first commit 6 maanden geleden
eslint.config.js e386e465b4 first commit 6 maanden geleden
index.html e386e465b4 first commit 6 maanden geleden
package-lock.json b918dc8efa 新增 map 底图,界面调整 6 maanden geleden
package.json b918dc8efa 新增 map 底图,界面调整 6 maanden geleden
tsconfig.app.json e386e465b4 first commit 6 maanden geleden
tsconfig.json b918dc8efa 新增 map 底图,界面调整 6 maanden geleden
tsconfig.node.json e386e465b4 first commit 6 maanden geleden
tsconfig.vitest.json e386e465b4 first commit 6 maanden geleden
vite.config.ts 5d845eff47 更新svg icon设置 6 maanden geleden
vitest.config.ts e386e465b4 first commit 6 maanden geleden

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