vuetify-reveal

0.0.3 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i vuetify-reveal

Weekly Downloads

0

Version

0.0.3

License

none

Unpacked Size

2.4 MB

Total Files

6

Last publish

Collaborators

  • shobu_serhao