Go to file
Lucien Cartier-Tilet d321f6f38d
docs(readme): update readme, replace npm with yarn
2024-02-17 05:02:26 +01:00
.vscode initial commit 2024-02-10 11:22:06 +01:00
public feat: update fonts 2024-02-17 04:51:20 +01:00
src feat: better styling for username display 2024-02-17 04:51:20 +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
LICENSE.md initial commit 2024-02-10 11:22:06 +01:00
README.md docs(readme): update readme, replace npm with yarn 2024-02-17 05:02:26 +01:00
TODOs.org docs(todos): add global todos 2024-02-17 04:51:20 +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
package.json feat(home): update and fix home page 2024-02-17 04:53:56 +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

README.md

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

yarn set version stable
yarn

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Run Unit Tests with Vitest

yarn test:unit

Lint with ESLint

yarn lint