太湖风浪模拟

linqilong 0411fd3c5e 更新 2 nedēļas atpakaļ
cypress e386e465b4 first commit 6 mēneši atpakaļ
public f703b8ed2b 更新 2 mēneši atpakaļ
src 0411fd3c5e 更新 2 nedēļas atpakaļ
.editorconfig e386e465b4 first commit 6 mēneši atpakaļ
.gitignore e386e465b4 first commit 6 mēneši atpakaļ
.prettierrc.json e386e465b4 first commit 6 mēneši atpakaļ
README.md 502db4cdde 更新 2 mēneši atpakaļ
cypress.config.ts e386e465b4 first commit 6 mēneši atpakaļ
env.d.ts 9ca684fe1d 更新 6 mēneši atpakaļ
eslint.config.js 9ca684fe1d 更新 6 mēneši atpakaļ
index.html 502db4cdde 更新 2 mēneši atpakaļ
package-lock.json 502db4cdde 更新 2 mēneši atpakaļ
package.json 502db4cdde 更新 2 mēneši atpakaļ
tsconfig.app.json e386e465b4 first commit 6 mēneši atpakaļ
tsconfig.json 9ca684fe1d 更新 6 mēneši atpakaļ
tsconfig.node.json e386e465b4 first commit 6 mēneši atpakaļ
tsconfig.vitest.json e386e465b4 first commit 6 mēneši atpakaļ
vite.config.ts ff8314f365 更新 1 mēnesi atpakaļ
vitest.config.ts e386e465b4 first commit 6 mēneši atpakaļ

README.md

太湖流域风浪(tba-waves)

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