How to use @voerro/vue-tagsinput - 1 common examples

To help you get started, we’ve selected a few @voerro/vue-tagsinput examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sanjabteam / sanjab / resources / js / plugin.js View on Github external
SanjabPlugin.install = function (Vue, options) {
    Quill.register('modules/imageUpload', ImageUpload);
    Quill.register(Quill.import('attributors/class/color'), true);
    Quill.register(Quill.import('attributors/class/align'), true);
    Quill.register(Quill.import('attributors/class/size'), true);

    Vue.use(require('bootstrap-vue').default);
    Vue.use(require('vue-quill-editor').default);
    Vue.use(require('vue-datetime').default);

    Vue.prototype.sanjabTrans = sanjabTrans;
    Vue.prototype.numberFormat = numberFormat;
    Vue.prototype.$sanjabStore = store;

    Vue.component('vue-bootstrap-typeahead', require('vue-bootstrap-typeahead').default);
    Vue.component('tags-input', require('@voerro/vue-tagsinput').default);
    Vue.component('draggable', require('vuedraggable').default);

    let chartTypes = {'bar-chart': VueChartJs.Bar,'horizontal-bar-chart': VueChartJs.HorizontalBar,'doughnut-chart': VueChartJs.Doughnut,'line-chart': VueChartJs.Line,'pie-chart': VueChartJs.Pie,'polar-area-chart': VueChartJs.PolarArea,'radar-chart': VueChartJs.Radar,'bubble-chart': VueChartJs.Bubble,'scatter-chart': VueChartJs.Scatter};

    for (let i in chartTypes) {
        Vue.component(i, chartJsComponent(chartTypes[i]));
    }

    const files = require.context('./components/', true, /\.vue$/i);
    files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default));
}
export default SanjabPlugin;

@voerro/vue-tagsinput

A simple tags input with typeahead made with Vue.js 2

MIT
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis

Popular @voerro/vue-tagsinput functions