This project is based on a template of Vue 3 in Vite.
The web UI loads configuration from the /config endpoint.
The production web server should host the configuration at this path.
For development a static file is included in mock/config.json.
In the development server this file will be served at /config, and can therefore be used to test different configurations.
VS Code + Vue (Official) (and disable Vetur).
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
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.
See Vite Configuration Reference.
npm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitLint with ESLint
npm run lint