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
- Host: GitHub
- URL: https://github.com/imcvampire/vue-tag-list
- Owner: imcvampire
- License: mit
- Created: 2016-08-18T04:05:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T08:29:50.000Z (almost 7 years ago)
- Last Synced: 2024-05-17T00:08:09.787Z (about 1 month ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-vuejs - vur-tag-list - A Vue filter that simplifies how to print a list of tag from array. (Awesome Vue.js / Libraries & Plugins)
- awesome-vue-refactor - vur-tag-list
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)