vuetify-reveal
v0.0.3
Published
a little wrapper to help using reveal.js with vuetify warning: mostly an austistic personal sideproject made with my poor javascript skills, documentation is a todo and it have major usage flaws. Contribution from more talented peoples are very welcome
Downloads
12
Readme
Vuetify reveal
a little wrapper to help using reveal.js with vuetify
warning: mostly an austistic personal sideproject made with my poor javascript skills, documentation is a todo and it
have major usage flaws. Contribution from more talented peoples are very welcomed <3
Project setup
// inject style somewhere before the Deck component
import 'vue-reveal/index.css'
<Deck> <!-- Deck initialize reveal js and wrap all slides inside, injecting the Reveal instance in the key 'deck' (inject('deck')) -->
<Slide>
<!-- slide will wrap content in <section></section> -->
slide 1
</Slide>
<Slide>
<Code code="print('test')"/> <!-- Code will handle automatique update of the code prop, refreshing the highlight of the code block -->
</Slide>
<Slide v-slot="{present}"> <!-- the Slide component provide the **present** prop who is True if slide is currently on the screen, may be an injectable in the future -->
<RandomComponent :present="present"/>
</Slide>
</Deck>