Skip to content

Commit 43a5e0b

Browse files
Update README.md
1 parent 219da2e commit 43a5e0b

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

README.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,28 @@
99
* Fetches initial count of videos
1010
* Loads additional videos
1111

12-
## Usage
12+
## Installation
13+
14+
### npm
15+
16+
```js
17+
npm i vue-youtube-widget
18+
```
19+
20+
### Github
1321

1422
1. Clone repository
1523
```js
16-
https://github.com/dmitriyakkerman/vue-vuex-i18n-browser-sfc-starter.git
24+
https://github.com/dmitriyakkerman/vue-youtube-widget.git
1725
```
1826
2. Install dependencies
1927
```js
2028
npm install
2129
```
22-
3. Import "YouTubeWidget" component in you app
30+
31+
## Usage
32+
33+
1. Import "YouTubeWidget" component in you app
2334

2435
```js
2536
<template>
@@ -41,7 +52,7 @@ export default {
4152

4253
```
4354

44-
4. Configure component additional props if needed:
55+
2. Configure component additional props if needed:
4556

4657
```js
4758
<template>
@@ -61,7 +72,7 @@ export default {
6172
...
6273
```
6374

64-
5. Import "YouTubeWidget" base styles from "main.scss"
75+
3. Import "YouTubeWidget" base styles from "main.scss"
6576

6677
```css
6778
...
@@ -72,13 +83,13 @@ export default {
7283

7384
```
7485

75-
6. Write your additional custom styles for widget.
76-
7. Run dev server:
86+
4. Write your additional custom styles for widget.
87+
5. Run dev server:
7788

7889
```js
7990
npm run serve
8091
```
81-
8. Enjoy! 🎉
92+
6. Enjoy! 🎉
8293

8394
-------------
8495

0 commit comments

Comments
 (0)