Skip to content

Commit 6e7ad5e

Browse files
committed
Add screenshots and write readme
1 parent 78e875f commit 6e7ad5e

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

README.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,53 @@
1-
# modal-component
1+
# Vue Custom Component With V-model (Modal/Dialog)
2+
3+
> This is a YouTube tutorial repo, in the tutorial, you will learn how to build custom component using v-model and you will build a modal/dialog
4+
5+
Live Demo: [Modal](https://vue3-modal.netlify.app/)
6+
7+
## Screenshots
8+
9+
> Delete the screenshot folder if you download this code
10+
11+
![Screenshot](screenshots/modal-1.png)
12+
13+
![Screenshot](screenshots/modal-1.png)
14+
15+
## Vue Version
16+
17+
Built with vue3 but can be applied to vue2
218

319
## Project setup
20+
421
```
522
npm install
623
```
724

825
### Compiles and hot-reloads for development
26+
927
```
1028
npm run serve
1129
```
1230

1331
### Compiles and minifies for production
32+
1433
```
1534
npm run build
1635
```
1736

1837
### Lints and fixes files
38+
1939
```
2040
npm run lint
2141
```
2242

2343
### Customize configuration
44+
2445
See [Configuration Reference](https://cli.vuejs.org/config/).
46+
47+
## License
48+
49+
This project is licensed under the MIT License
50+
51+
## Developed by Reagan Ekhameye (Tech Reagan)
52+
53+
Reach me on twitter [@techreagan](https://www.twitter.com/techreagan)

screenshots/modal-1.png

13.3 KB
Loading

screenshots/modal-2.png

25.9 KB
Loading

src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ body {
5050
border: none;
5151
background-color: #f3bc17;
5252
color: #101024;
53-
padding: 0.5rem 1.8rem;
53+
padding: 0.7rem 1.8rem;
5454
cursor: pointer;
5555
outline: none;
5656
font-size: 0.8rem;

0 commit comments

Comments
 (0)