Use npm install
or yarn install
as you wish.
- Put slide files into a directory, for example,
./slides
. - Bundle slides into deck by create a deck configuration file. for example,
sample-deck.json
.
Use npm run serve --deck=sample-deck.json
if you install deck with npm or yarn serve --deck=sample-deck.json
if you use yarn.
{
"title": "Your deck title",
"assets": [
"assets/**"
],
"styles": [
"assets/css/default.css"
],
"files": [
"slides/file1",
"slides/file2",
"slides/file3"
]
}
title
is your deck titleassets
is a list of your assets to be used in your slides.styles
is additional style sheets to be embed in your presentation.files
is a list of your slide files. Each file will be placed as how you order.
MIT