|
|
6 months ago | |
|---|---|---|
| cypress | 1 year ago | |
| public | 7 months ago | |
| src | 6 months ago | |
| .editorconfig | 1 year ago | |
| .gitignore | 1 year ago | |
| .prettierrc.json | 1 year ago | |
| README.md | 7 months ago | |
| cypress.config.ts | 1 year ago | |
| env.d.ts | 1 year ago | |
| eslint.config.js | 1 year ago | |
| index.html | 7 months ago | |
| package-lock.json | 7 months ago | |
| package.json | 7 months ago | |
| tsconfig.app.json | 1 year ago | |
| tsconfig.json | 1 year ago | |
| tsconfig.node.json | 1 year ago | |
| tsconfig.vitest.json | 1 year ago | |
| vite.config.ts | 6 months ago | |
| vitest.config.ts | 1 year ago |
TBA National Basic Hydrological Station
VSCode + Volar (and disable Vetur).
.vue Imports in TSTypeScript 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.
See Vite Configuration Reference.
npm install
npm run dev
npm run build
npm run test:unit
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
npm run lint