Store organ registrations in the URL for easy dissemnination and storage. Visualize organ stops.
production site: https://samyipsh.github.io/organ-registration/
- example query param:
/?pedal=0011010000000&swell=0000000000001000000&great=01001000000000
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
npm install
npm run dev
npm run build
# preview locally
npm run preview
# `serve -s dist` wouldn't work
# since base in vite.config is the github-repo name so that github-pages can deploy it properly
# deploy to production (gh-pages branch)
npm run deploy
Check other npm run commands in package.json
Lint with ESLint
npm run lint
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:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.