FitTrackee/fittrackee_client
2024-02-04 17:12:21 +01:00
..
public Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
src bump to version 0.7.30 2024-02-04 17:12:21 +01:00
tests/unit/utils Client - display workout chart with dark mode colors when enabled 2023-12-16 21:41:29 +01:00
.env Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
.eslintrc.cjs Client - update ESLint rules 2023-11-15 11:24:52 +01:00
.gitignore Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
.prettierrc.json Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
Dockerfile Client - update docker files 2023-11-15 14:57:27 +01:00
env.d.ts Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
index.html Client - fix index.html 2023-11-12 21:11:19 +01:00
package.json bump to version 0.7.30 2024-02-04 17:12:21 +01:00
README.md Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
tsconfig.app.json Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
tsconfig.json Client - move unit tests to Vitest 2023-11-11 17:14:31 +01:00
tsconfig.node.json Client - upgrade Vue to 3.3 and move to Vite 2023-11-11 15:23:45 +01:00
tsconfig.vitest.json Client - move unit tests to Vitest 2023-11-11 17:14:31 +01:00
vite.config.ts Client - update docker files 2023-11-15 14:57:27 +01:00
vitest.config.ts Client - add eslint-plugin-import 2023-11-11 18:44:07 +01:00
yarn.lock update js dependencies 2024-02-04 10:47:11 +01:00

fittrackee_client

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

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 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:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

yarn

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Lint with ESLint

yarn lint