Skip to content

Commit fa68c88

Browse files
committed
docs: improve README and add keywords
1 parent 52484e5 commit fa68c88

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ Vue.use(textMiddleEllipsis);
1818
```html
1919
<p v-text-middle-ellipsis="4">Some long text.</p>
2020
```
21-
__Result__: 'Some...ext.'
22-
2321
The value passed to the directive - is the count of symbols that you are want to preserve from truncate.
22+
### Result
23+
'Some...ext.'
24+
2425

2526
### Live example
2627
<img width="493" height="350" src="https://raw.githubusercontent.com/Tardigrada777/vue-text-middle-ellipsis/master/docs/text-middle-ellipsis-example.gif">

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"name": "vue-text-middle-ellipsis",
33
"description": "Simple vue-directive for the text middle ellipsis.",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"author": "tardigrada777 <ntwrite@gmail.com>",
66
"license": "MIT",
77
"main": "lib/vue-text-middle-ellipsis.min.js",
88
"files": [
99
"lib"
1010
],
11+
"keywords": [
12+
"truncate",
13+
"vue",
14+
"vue-directive",
15+
"middle-text-ellipsis"
16+
],
1117
"scripts": {
1218
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
1319
"build:lib": "rm -rf ./lib && bili src/index.js",

0 commit comments

Comments
 (0)