No description
Find a file
2023-01-09 16:07:50 +01:00
.vscode initial 2023-01-04 11:26:59 +01:00
public initial 2023-01-04 11:26:59 +01:00
src fixes the wheel 2023-01-09 16:07:50 +01:00
.eslintrc.cjs initial 2023-01-04 11:26:59 +01:00
.gitignore initial 2023-01-04 11:26:59 +01:00
.prettierrc.json initial 2023-01-04 11:26:59 +01:00
env.d.ts initial 2023-01-04 11:26:59 +01:00
index.html initial 2023-01-04 11:26:59 +01:00
LICENSE update LICENSE and README 2023-01-05 12:34:33 +01:00
package.json update LICENSE and README 2023-01-05 12:34:33 +01:00
postcss.config.js initial 2023-01-04 11:26:59 +01:00
README.md update LICENSE and README 2023-01-05 12:34:33 +01:00
tailwind.config.js initial 2023-01-04 11:26:59 +01:00
tsconfig.config.json initial 2023-01-04 11:26:59 +01:00
tsconfig.json initial 2023-01-04 11:26:59 +01:00
vite.config.ts initial 2023-01-04 11:26:59 +01:00
yarn.lock initial 2023-01-04 11:26:59 +01:00

raffle-me-that

Simple online wheel-of-fortune, for spontaneous raffles or decisions to make.

Soon to be available online: raffle.k0r.in

Development / Contributing

This project uses the vue/vite starter template.

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, Running, Building

yarn
yarn dev # run dev server
yarn lint # lint the code
yarn build # run build