Skip to content

cdqa-suite/cdQA-ui

Repository files navigation

cdqa-ui

Build Status NPM Version NPM Downloads NPM Downloads

A user interface for cdQA

Table of contents

Installation

npm install cdqa-ui

Import

import Vue from 'vue'
import CdqaUI from 'cdqa-ui'

Vue.use(CdqaUI)

cdqa-ui relies on bootstrap-vue, an external dependency that is not bundled with the component. Therefore you also need to import bootstrap-vue in your app entrypoint:

import Vue from 'vue'
import BootstrapVue from "bootstrap-vue"

Vue.use(BootstrapVue)

import "bootstrap/dist/css/bootstrap.css"
import "bootstrap-vue/dist/bootstrap-vue.css"

Usage

<CdqaUI api_endpoint="http://localhost:5000/api"></CdqaUI>

Properties

Name Type Default Description
api_endpoint string http://localhost:5000/api The url of your cdQA REST API.

Development

Clone the repository

git clone https://github.com/fmikaelian/cdQA-ui
cd cdQA-ui

Install package

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

This repo is based on vue-sfc-rollup, a minimal setup to produce npm-ready vue components. Releases are done automatically on master pushes (see travis.yml).

License

MIT

About

⛔ [NOT MAINTAINED] A web interface for cdQA and other question answering systems.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •