1.1.0 • Published 1 year ago

@vuejs-community/vue-filter-truncate v1.1.0

Weekly downloads
30
License
MIT
Repository
github
Last release
1 year ago

@vuejs-community/vue-filter-truncate

Simple truncate filter for Vue.js

Installation

install from npm

$ npm install @vuejs-community/vue-filter-truncate

and register in you Vue app

import Vue from 'vue';
import VueFilterTruncate from '@vuejs-community/vue-filter-truncate';

Vue.use(VueFilterTruncate);

Usage

basic usage

<template>
  <div>{{ 'This is sample text' | truncate(10) }}</div>
</template>

License

MIT © Vue.js Community

1.1.0

1 year ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago