1.0.0 • Published 3 years ago
@pinarsuvac/v-tag-component v1.0.0
tag-component
This is a component for creating and removing tags using input
Install
# install
npm install v-tag-component
Usage
in main.js
import Tags from "v-tag-component"
Vue.component("vTag", Tags);
<template>
<vTag v-model="yourTagWord"
color="{two color options for here "pink" and "blue"}" />
</template>
your tag string must be a comma separated string
<script>
export default {
data() {
return {
yourTagWord: "hello,my,name,is,tag"
}
}
}
</script>
1.0.0
3 years ago