This is a website for Backstitch, a Godot plugin for real-time version control.
The Backstitch Website is a static site that uses Vue.js to render everything. Normal pages and compnents are stored in src/views and src/components respectively. Backstitch's docs are authored in src/content/docs and indexed in src/content/docs-pages.ts.
For CSS, we use Tailwind for most things, as well as a main CSS file for global styles. Occasionally, we put scoped styles inside individual components that need some bespoke behavior that would be difficult or impossible with Tailwind.
For local and production builds, see below for IDE setup and scripts.
VS Code + Vue (Official) (and disable Vetur).
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
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.
npm installnpm run devnpm run buildLint with ESLint
npm run lint