File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 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
14221 . 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```
18262 . Install dependencies
1927``` js
2028npm 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
7990npm run serve
8091```
81- 8 . Enjoy! 🎉
92+ 6 . Enjoy! 🎉
8293
8394-------------
8495
You can’t perform that action at this time.
0 commit comments