Skip to content

vuejs-tips/v-tag-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm

Vue Tag List

Tiny tag list view for Vue.js

Demo

https://htmlpreview.github.io/?https://github.com/vuejs-tips/v-tag-list/master/demo/index.html

Usage

Just bind an array of tags using v-model directive or value property.

<template>
  <div>
    <v-tag-list v-model="tags" theme="semantic-ui"></v-tag-list> {{tags}}
  </div>
</template>

<script>
import VTagList from 'v-tag-list'

export default {
  components: {VTagList},
  data () {
    return {
      tags: ['php', 'ruby', 'javascript', 'python', 'java', 'c#', 'scala', 'closure']
    }
  }
}
</script>

Installation

Using yarn

yarn add v-tag-list

Using npm

npm i --save v-tag-list

Contribution

You're free to contribute to this project by submitting issues and/or pull requests. This project is test-driven, so keep in mind that every change and new feature should be covered by tests. Your name will be added to the hall of fame ;)

License

This project is licensed under MIT License

Build inspired by vue-plugin-template