vue-tag-list
v0.5.0
Published
A simple VueJS filter for list printing
Downloads
19
Readme
vue-tag-list
A simple VueJS filter for tag list printing
Description:
If you have this in View-Model:
let array = ['Vue', 'filter', 'tag']
but you want it shows as below in View:
#Vue, #filter, #tag
Ok. Let use this package.
Install:
CommonJS
Available through npm as vue-tag-list
:
npm install vue-tag-list --save
var VueTagList = require('vue-tag-list')
Vue.use(VueTagList)
Direct include
- You can also directly include it with a
<script>
tag when you have Vue already included globally. It will automatically install itself, and will add a globalVueTagList
.
Usage:
{{ array | tagList }}