Go to file
2024-02-17 04:51:20 +01:00
.vscode initial commit 2024-02-10 11:22:06 +01:00
public Some more stuff 2024-02-17 04:51:19 +01:00
src refactor(models, store): stronger typing 2024-02-17 04:51:19 +01:00
.dir-locals.el initial commit 2024-02-10 11:22:06 +01:00
.env.example feat: add example dotenv file 2024-02-10 18:19:35 +01:00
.eslintrc.cjs feat: beginning work on managing campaigns 2024-02-10 18:30:47 +01:00
.gitignore initial commit 2024-02-10 11:22:06 +01:00
.prettierrc.json initial commit 2024-02-10 11:22:06 +01:00
.yarnrc.yml initial commit 2024-02-10 11:22:06 +01:00
env.d.ts feat: add app version in footer 2024-02-10 18:30:09 +01:00
index.html initial commit 2024-02-10 11:22:06 +01:00
LICENSE.md initial commit 2024-02-10 11:22:06 +01:00
package.json feat(home): update and fix home page 2024-02-17 04:53:56 +01:00
README.md initial commit 2024-02-10 11:22:06 +01:00
TODOs.org docs(todos): add global todos 2024-02-17 04:51:20 +01:00
tsconfig.app.json initial commit 2024-02-10 11:22:06 +01:00
tsconfig.json initial commit 2024-02-10 11:22:06 +01:00
tsconfig.node.json initial commit 2024-02-10 11:22:06 +01:00
tsconfig.vitest.json initial commit 2024-02-10 11:22:06 +01:00
vite.config.ts feat: add app version in footer 2024-02-10 18:30:09 +01:00
vitest.config.ts initial commit 2024-02-10 11:22:06 +01:00
yarn.lock feat(home): update and fix home page 2024-02-17 04:53:56 +01:00

gege-jdr

This is a website for managing my TTRPG campains with some friends. It works with a PocketBase

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

Type Support for .vue Imports in TS with VSCode

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.

Setup that I use

Emacs + lsp-mode + Volar + web-mode. Take a look at my configuration.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint