faq-component

0.0.6 • Public • Published

Faq-component

Simple FAQ for VUE.JS made with Bootstrap

Dependencies

  • Vue.js. Required.
  • Bootstrap (CSS). Required.

Installation

Install with npm:

npm i faq-component

Database

table categories :

  • id (integer PK)
  • nom (varchar 255)
  • nom_interne (varchar 255)

table faqs :

  • id (ineger PK)
  • categorie_id (integer FK categories)
  • object (varcher 255)
  • question (text)
  • reponse (text)

Import globally in app.js:

import FaqComponent from 'faq-component';
Vue.component('faq-component', FaqComponent);

Usage

<faq-component :api_url="'your_api_url'"></faq-component>

Props

Name                                        Type Description Default
api_url String URL that calls data

Example

<faq :api_url="'http://your/api/url'"></faq>

Package Sidebar

Install

npm i faq-component

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

7.5 kB

Total Files

5

Last publish

Collaborators

  • nahmey