New:Socket for Asana Is Now Available.Learn more
Get Started

didbot-web

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

didbot-web

Web interface for the didbot API.

unpublished
latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Didbot Web

A set of vue.js components for interacting with didbot.com or a self hosted didbot application.

Installation

Install didbot-web using the node package manager

npm install didbot-web --save

Import the vue component and add our event bus

Vue.component(
    'didbot-web',
    require('didbot-web')
);

const didbotBus = new Vue()
Vue.prototype.$didbotBus = didbotBus

Generate an access token at either didbot.com or within your self hosted didbot application and add it to the javascript variable apiToken within the didbot namespace.

didbot.apiToken=Bearer 123ABC...

Import the stylesheet

@import "./../../../node_modules/didbot-web/src/sass/did.scss";

Add the component markup to your vue.js.

<didbot-web></didbot-web>

By default this package attempts to connect to the didbot.com API located at https://didbot.com/api/1.0/. If you wish to point the package to a self hosted didbot application set path in the javascript variable baseUrl within the didbot namespace.

didbot.baseUrl=http://www.example.com/api/

Keywords

didbot

FAQs

Package last updated on 21 Nov 2016

Related posts