Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7edcbb1

Browse files
committed
updated readme
1 parent284e62c commit7edcbb1

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

‎README.md‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#vue-comps-modal
22

3-
the best modal you can get
3+
the best modal you can get.
44

5-
###[See it in action](https://vue-comps.github.io/vue-comps-modal)
5+
###[Demo](https://vue-comps.github.io/vue-comps-modal)
66

77
#Install
88

99
```sh
1010
npm install --save-dev vue-comps-modal
1111
```
12-
or include`build/bundle.js`
12+
or include`build/bundle.js`.
1313

1414
##Usage
1515
```coffee
@@ -20,8 +20,17 @@ components:
2020
components:
2121
"modal":window.vueComps.modal
2222
```
23+
```html
24+
<button> Open Modal
25+
<modal>
26+
Content
27+
</modal>
28+
</button>
29+
```
30+
31+
For examples see[`dev/`](https://github.com/vue-comps/vue-comps-modal/tree/master/dev).
2332

24-
For examples see`dev/`
33+
Note, that the modal will be appended to`document.body` on first opening.
2534

2635
####Props
2736
| Name| type| default| description|
@@ -47,12 +56,12 @@ For examples see `dev/`
4756

4857

4958
#Development
50-
Clone repository
59+
Clone repository.
5160
```sh
5261
npm install
5362
npm run dev
5463
```
55-
Browse to`http://localhost:8080/`
64+
Browse to`http://localhost:8080/`.
5665

5766
##License
5867
Copyright (c) 2016 Paul Pflugradt

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp