Go to file
Kristóf Torma 18dc4737d6
All checks were successful
continuous-integration/drone/push Build is passing
update start
2023-08-31 18:48:41 +02:00
.vscode first commit 2022-05-21 20:38:11 +02:00
api update start 2023-08-31 18:48:41 +02:00
public enterprise axiosing 2022-05-21 22:14:29 +02:00
src 0 as default value 2022-05-22 10:27:30 +02:00
.drone.yml add gitea as provider 2023-01-14 15:37:39 +01:00
.eslintrc.cjs first commit 2022-05-21 20:38:11 +02:00
.gitignore first commit 2022-05-21 20:38:11 +02:00
env.d.ts first commit 2022-05-21 20:38:11 +02:00
index.html it's in the fucking middle 2022-05-21 22:48:49 +02:00
package-lock.json number shows up 2022-05-21 21:55:27 +02:00
package.json specify newer node version 2022-05-21 22:16:54 +02:00
README.md first commit 2022-05-21 20:38:11 +02:00
staticwebapp.config.json specify python version 2022-05-22 10:27:06 +02:00
tsconfig.json first commit 2022-05-21 20:38:11 +02:00
tsconfig.vite-config.json first commit 2022-05-21 20:38:11 +02:00
vite.config.ts first commit 2022-05-21 20:38:11 +02:00

staticwebapp-hhv-tormakristof-eu

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

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint