Skip to content

Commit a357ba7

Browse files
authored
Update README.md
1 parent 08bfc12 commit a357ba7

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

Diff for: README.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ $ npm i -S vue-tiny-pagination
3434
@tiny:change-page="changePage"></tiny-pagination>
3535
</div>
3636
```
37-
You can import the component and define this in specific section:
37+
38+
You can use **local registration**
3839
```javascript
3940
import {TinyPagination} from 'vue-tiny-pagination'
4041

@@ -56,13 +57,15 @@ new Vue({
5657
}
5758
});
5859
```
59-
or define the component on Global application
60+
or **global registration**
6061
```javascript
6162
import TinyPagination from 'vue-tiny-pagination'
6263
Vue.use(TinyPagination)
6364
```
6465

65-
For use in browser can you use Unpkg:
66+
### Usage in browser
67+
68+
In browser you can use Unpkg:
6669
```
6770
https://unpkg.com/vue-tiny-pagination@latest/dist/vue-tiny-pagination.min.js
6871
```
@@ -75,7 +78,7 @@ For see the complete documentation go to the [official website](https://coderdia
7578

7679
### Donate
7780

78-
<a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/coderdiaz"><img src="https://www.buymeacoffee.com/assets/img/BMC-btn-logo.svg" alt="Buy me a coffee"><span style="margin-left:5px">Buy me a coffee</span></a>
81+
<a href="https://www.buymeacoffee.com/coderdiaz" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/white_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
7982

8083
### Development
8184

@@ -86,8 +89,14 @@ npm install
8689
# serve with hot reload at localhost:8080
8790
npm run dev
8891

89-
# build for production with minification
92+
# build docs with minification
93+
npm run compile:docs
94+
95+
# build project
9096
npm run build
97+
98+
# run tests
99+
npm run test
91100
```
92101

93102
### What's Included

0 commit comments

Comments
 (0)