Simple Slides is a small Vue app built with Vite and TypeScript that allows for simple and content-friendly rendering of presentation slides via Markdown.
Simple Slides follows the Takahashi Method of presenting slides, which focuses on:
- Prioritizing text-content
- Low amount of content per slide
- Many slides, and changing through slides quickly
npm install
npm run dev # Navigate to http://localhost:5173
# Alternatively, you can run with Docker, but that will generate
# a release build without hot reloading or volume binding,
# which is not ideal for developing.
docker compose up
npm test
# Alternatively, for test coverage, run:
npm run test-coverage
# I mostly use this for linting
npx vue-tsc
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
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.