0.0.6 • Published 2 years ago

faq-component v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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                                       TypeDescriptionDefault
api_urlStringURL that calls data

Example

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

2 years ago

0.0.4

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago