amoe-butterworth-widgets
[![npm version](https://badge.fury.io/js/amoe-butterworth-widgets.svg)](https://badge.fury.io/js/amoe-butterworth-widgets)
Last updated a year ago by amoe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install amoe-butterworth-widgets 
SYNC missed versions from official npm registry.

amoe-butterworth-widgets

npm version

Usage instructions

There is no default export. A named export WidgetView is exported.

The WidgetView takes a single prop, taxonomies. This is an object defining a set of available taxonomies. The string key is used to uniquely identify the taxonomy. The taxonomy should have a single root node.

Nodes should have a certain structure. A node should be an object with the following structure:

{
    content: "foo",
    uri: "tag:solasistim.net,2018-12-28:occubrow/Transport/1"
}

The URI is an opaque unique identifier string. Here I am using tag URIs. Each node must have a unique value for this property. It doesn't need to be a real URI, it could just as well be an integer, although URIs are preferred.

To get the needed CSS rules, you should do the following either within a component or within your entry point.

import 'amoe-butterworth-widgets/dist/amoe-butterworth-widgets.css';

Include the Vuex module into your store like so.

import Vuex from 'vuex';
import { WidgetsModule } from 'amoe-butterworth-widgets';

Vue.use(Vuex);

export default new Vuex.Store({
    // [rest of store definition omitted]
    modules: {
        widgets: WidgetsModule
    },
});

Releasing a new version

Steps:

Bump version number in package.json

Run

./node_modules/.bin/vue-cli-service build --target lib --name amoe-butterworth-widgets src/library-entry.ts

Now npm publish

Current Tags

  • 0.7.0                                ...           latest (a year ago)

35 Versions

  • 0.7.0                                ...           a year ago
  • 0.6.3                                ...           a year ago
  • 0.6.2                                ...           a year ago
  • 0.6.1                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.17                                ...           2 years ago
  • 0.5.16                                ...           2 years ago
  • 0.5.15                                ...           2 years ago
  • 0.5.14                                ...           2 years ago
  • 0.5.13                                ...           2 years ago
  • 0.5.12                                ...           2 years ago
  • 0.5.11                                ...           2 years ago
  • 0.5.10                                ...           2 years ago
  • 0.5.9                                ...           2 years ago
  • 0.5.8                                ...           2 years ago
  • 0.5.7                                ...           2 years ago
  • 0.5.5                                ...           2 years ago
  • 0.5.4                                ...           2 years ago
  • 0.5.3                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.6                                ...           2 years ago
  • 0.4.5                                ...           2 years ago
  • 0.4.4                                ...           2 years ago
  • 0.4.3                                ...           2 years ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (16)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |