imcvampire / vue-tag-list

A simple VueJS filter for list printing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 global VueTagList.

Usage:

 {{ array | tagList }}

License

MIT

About

A simple VueJS filter for list printing

License:MIT License


Languages

Language:JavaScript 100.0%