@johmun/vue-tags-input
Version:
A tags input component for VueJS with autocompletion, custom validation, templating and much more
18 lines (14 loc) • 596 B
JavaScript
import VueTagsInput from '../vue-tags-input/vue-tags-input.vue';
import { createClasses, createTag, createTags } from '../vue-tags-input/create-tags';
import TagInput from '../vue-tags-input/tag-input.vue';
// add autoinstall support if the component is attached to the windows object e.g. if added by CDN
VueTagsInput.install = Vue => Vue.component(VueTagsInput.name, VueTagsInput);
if (typeof window !== 'undefined' && window.Vue) window.Vue.use(VueTagsInput);
export {
VueTagsInput,
createClasses,
createTag,
createTags,
TagInput,
};
export default VueTagsInput;