Custom SBB Stationboard using the search.ch API
title-
- Optional, the title of the board
stationx-
- x is a number from 1-10, denoting the station
http://localhost?title=Departure&station1=Bern&station2=Luzern
firefox --kiosk --new-window "http://localhost:5173?station1=Zürich"
VSCode + Volar (and disable Vetur).
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 Volar to make the TypeScript language service aware of .vue types.
See Vite Configuration Reference.
pnpm installpnpm devpnpm buildLint with ESLint
pnpm lint