2.1.0 • Published 2 years ago

@yinta/yinta-fed-component-tags-input v2.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

yinta-fed-component-tags-input

VueJS的标签输入组件,具有自动完成、自定义验证、模板等功能

Install

NPM

npm install @yintatech/yinta-fed-component-tags-input

示例

<template>
  <div>
    <vue-tags-input
      v-model="tag"
      :tags="tags"
      @tags-changed="newTags => tags = newTags"
    />
  </div>
</template>
<script>
import VueTagsInput from '@yintatech/yinta-fed-component-tags-input';

export default {
  components: {
    VueTagsInput,
  },
  data() {
    return {
      tag: '',
      tags: [],
    };
  },
};
</script>