|
6 meses atrás | |
---|---|---|
cypress | 6 meses atrás | |
public | 6 meses atrás | |
src | 6 meses atrás | |
.editorconfig | 6 meses atrás | |
.gitignore | 6 meses atrás | |
.prettierrc.json | 6 meses atrás | |
README.md | 6 meses atrás | |
cypress.config.ts | 6 meses atrás | |
env.d.ts | 6 meses atrás | |
eslint.config.js | 6 meses atrás | |
index.html | 6 meses atrás | |
package-lock.json | 6 meses atrás | |
package.json | 6 meses atrás | |
tsconfig.app.json | 6 meses atrás | |
tsconfig.json | 6 meses atrás | |
tsconfig.node.json | 6 meses atrás | |
tsconfig.vitest.json | 6 meses atrás | |
vite.config.ts | 6 meses atrás | |
vitest.config.ts | 6 meses atrás |
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