Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gitbook-plugin-fsui

ghjagus14MIT1.0.0

gitbook plugin for FSUI library.

gitbook, plugin, fsui, vuejs

readme

gitbook-plugin-fsui

gitbook plugin for FSUI library. It initialize the Vue context for FSUI and bootstrap FSUI component in gitbook pages.

Intall

gitbook install fsui

Usage

config plugin in book.json/book.js

"plugins": ["fsui"]

after that, you can writing blocks in markdown files with three different styles

style-A

<vue>
    <fs-button>A Button</fs-button>
</vue>

style-B

<vue>
    <template>
        <fs-icon @click="doClick"></fs-icon>
    </template>
</vue>

style-C

<vue>
    <config>
    {
        methods: {
            doClick: function() {
                alert('icon clicked')
            }
        }
    }
    </config>
    <template>
        <fs-icon @click="doClick"></fs-icon>
    </template>
</vue>

FAQ

can't use "{{}}" in template

place use v-text replace