Updated demo, version 1.2.1 🚀

This commit is contained in:
euvl
2017-06-21 21:21:02 +01:00
parent 0090a77216
commit 97176c56a2
4 changed files with 11 additions and 4049 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
"start": "nuxt"
},
"dependencies": {
"vue-js-modal": "github:euvl/vue-js-modal#dcf3291623d9fe54bcbf0ca48c0ed35865b8871a",
"vue-js-modal": "latest",
"nuxt": "^1.0.0-alpha.4"
}
}

View File

@@ -1,8 +1,9 @@
<template>
<div>
<modal name="foo">Woot</modal>
<p>Hi from {{ name }}.</p>
<modal name="foo" :width="300" :height="140">
Woot
</modal>
<p>Hi from <b>{{ name }}</b>.</p>
<button @click="$modal.show('foo')">
Open modal
</button>
@@ -26,4 +27,9 @@ body {
color: #2c3e50;
padding: 50px;
}
.v--modal {
text-align: center;
padding: 50px;
}
</style>