Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/imcvampire/vue-tag-list

A simple VueJS filter for list printing
https://github.com/imcvampire/vue-tag-list

Last synced: 24 days ago
JSON representation

A simple VueJS filter for list printing

Lists

README

        

# vue-tag-list
A simple VueJS filter for tag list printing

## Description:
If you have this in View-Model:

```js
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`

``` js
var VueTagList = require('vue-tag-list')
Vue.use(VueTagList)
```

### Direct include

- You can also directly include it with a `` tag when you have Vue already included globally. It will automatically install itself, and will add a global `VueTagList`.

## Usage:

```html
{{ array | tagList }}
```

## License

[MIT](http://opensource.org/licenses/MIT)