This template is based on the official vue starter app but is extended by common libraries:
VSCode + Volar + TypeScript Vue Plugin (Volar).
npm ci
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
npm run lint
TypeScript cannot handle type information for .vue
imports by default. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Open VS Code extensions
- Enter
@builtin typescript
in search box, findTypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Reload VS Code
To start the application for production using Docker, just run
docker-compose up -d