0.0.2 • Published 4 years ago

vue-filter-test-n v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

vue-filter npm.io

A collection of Vue.js filter

Notice: Normally, you will only use few filters in your project, so you don't need to import this library entirely. Consider use a library like Lodash and write the filter you need by yourself.

How to use ?

step 1. Install vue-filter

You can install it from npm:

npm install vue-filter --save

If you use a bundle tools like webpack, you need install the filters manually. As from Vue 2.0 you have to install the extension using the Vue.use() sytax.

import VueFilter from 'vue-filter';
import Vue from 'vue';

// Vue.install(vueFilter); // Vue V1 
Vue.use(VueFilter);        // Vue V2