Vuejs to truncate string
npm install truncate-vue --save
yarn add truncate-vue
import TruncateVue from 'truncate-vue'
Vue.use(TruncateVue)
{{ text | truncate(50) }}
-
length (Number)
-
clamp (String)
VueJs to truncate string
Vuejs to truncate string
npm install truncate-vue --save
yarn add truncate-vue
import TruncateVue from 'truncate-vue'
Vue.use(TruncateVue)
{{ text | truncate(50) }}
length (Number)
clamp (String)
VueJs to truncate string