Installation
Prerequisites:
Because Slidev is based on Vite, you need to have Node.js installed.
To install Node.js, you can follow the official documentation. Then, verify your installation by running the following command:
node --version
You should see something like this:
v18.13.0 # or a more recent version. LTS is written on top of the download page.
Then, check that npm
, the package manager of Node.js, is installed:
npm --version
You should see something like this:
8.19.3 # or a more recent version. Latest is written on top of the download page.
Create a new project
To create a new project, you can use the create-slidev
CLI:
npm init slidev@latest
This will create a new project in the current directory.
Install dependencies
To install the dependencies, you can run the following command:
npm install
Add the theme
To add the theme, you can run the following command:
npm install slidev-theme-aneo
Then you must add it to your slides.md
:
---theme: aneo---
Start the presentation
To start the presentation, you can run the following command:
npm run dev
Voilà! You are ready to go with a beautiful pre-configured theme for your corporate presentation.