Skip to content

Commit f4f8860

Browse files
committed
update npmignore
1 parent c8f7324 commit f4f8860

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.npmignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.DS_Store
22
*.log
33
.babelrc
4-
node_modules
4+
node_modules
5+
src
6+
.cache

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default {
4444
```js
4545
import 'vue2-timeago/dist/vue2-timeago.css'
4646
```
47-
or just include [style.css](https://github.com/runkids/vue2-timeago/blob/master/dist/style.css)
47+
or just include [vue2-timeago.css](https://github.com/runkids/vue2-timeago/blob/master/dist/vue2-timeago.css)
4848

4949

5050
##### HTML
@@ -84,6 +84,7 @@ export default {
8484
8585
4. tooltip
8686
<img src="https://i.imgur.com/mRMt7Ps.png"/>
87+
8788
```html
8889
<TimeAgo tooltip></TimeAgo> Show tooltip
8990
```
@@ -97,6 +98,7 @@ export default {
9798
6. todo
9899
You can do something when time refresh every time
99100
<img src="https://i.imgur.com/V1K6Xa2.gif"/>
101+
100102
```html
101103
<TimeAgo :refresh="1" :locale="locale" :todo="()=> count+=1"></TimeAgo>
102104
```
@@ -117,7 +119,7 @@ You can do something when time refresh every time
117119
118120
#Contributions
119121
locale translations: The component needs more locale translations. You can `Open an issue to write the locale translations, or submit a pull request`.
120-
See example [here]().
122+
See example [here](https://github.com/runkids/vue2-timeago/blob/master/src/lib/lang).
121123
122124
locale support list :
123125
- en

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue2-timeago",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A vue component used to format date with time ago statement.",
55
"main": "dist/vue2-timeago.js",
66
"keywords": [

0 commit comments

Comments
 (0)