This repository contains all the files necessary for generating presentation slides using VueJS and EagleJS. An example can be found here.
The structure of this template was based on the presentation slides created by JiriChara.
The VueJS app uses the following VueJS components and modules:
- vue-burger-menu, a custom component is included in this presentation template so it automatically list the slides name retrieved from the file
store.js
. - vue-svg-loader, with the properties
cleanupIDs
andremoveUnknownsAndDefaults
set tofalse
invue.config.js
. - vue-router.
- vuex
Note (maybe it sounds unnecessary for most of you): When defining static data such as GSAP timelines for animations, you should use this.$options
to store your static data in your component (i.e., slide).
- Change the web page path in
vue.config.js
and indeploy.sh
, presentation_template to github_pages_repository (e.g., phd_presentation), do not forget to modify your github username as well indeploy.sh
. - Make the file
deploy.sh
executable,
chmod +x deploy.sh
-
Create your slides, namely create one
vue
file per slide, and reference them instore.js
. You can change the following options:-
name
: component name -
menuName
: slide name displayed on the menu -
path
: displayed path by the vue-router -
steps
: [optional] number of steps the slide as -
enterNext
,enterPrev
,leaveNext
,leavePrev
: [optional] transition effects (see EagleJS doc)or
-
enter
,leave
: [optional] (see EagleJS doc)
-
-
Change
theme.css
to adjust the theme template used (including the menu style).
npm install
npm run serve
npm run build
npm run test
npm run lint