1.1 KiB
1.1 KiB
Welcome to Slidev!
To start the slide show:
pnpm install
pnpm dev
- visit http://localhost:3030/?time=10
Edit the slides.md to see the changes.
Learn more about Slidev at the documentation.
Structure
your-slidev/
├── components/ # custom components
├── layouts/ # custom layouts
├── public/ # static assets
├── setup/ # custom setup / hooks
├── snippets/ # code snippets
├── styles/ # custom style
├── index.html # injections to index.html
├── slides.md # the main slides entry
└── vite.config.ts # extending vite config
Global layers
Global layers allow you to have custom components that persist across slides. This could be useful for having footers, cross-slide animations, global effects, etc.
- global-top.vue
- global-bottom.vue
- custom-nav-controls.vue
- slide-top.vue
- slide-bottom.vue