JSPM

ghost-faq

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 5
    • Score
      100M100P100Q27133F
    • License MIT

    Venue FAQ Page Package

    Package Exports

    • ghost-faq

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ghost-faq) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    ghost-faq

    A Vue.js Component for FAQ Pages

    Installation

    NPM

    npm install ghost-faq --save

    Install the Vue plugin

    In your main JS file first import this plugin

    import GhostFAQ from 'ghost-faq' Vue.use(GhostFAQ)

    Usage

    <ghost-faq
        :faqs="[]"
        :hasIcon="true"
        :multiPanel="false"
        textAlign="center"
        :color="{
            title: '#000',
            content: '#000'
        }"
        :background="{
            title: '#fff',
            content: '#fff'
        }"
    />