mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Updated demo, version 1.2.1 🚀
This commit is contained in:
4044
demo/server_side_rendering/package-lock.json
generated
4044
demo/server_side_rendering/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
|||||||
"start": "nuxt"
|
"start": "nuxt"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue-js-modal": "github:euvl/vue-js-modal#dcf3291623d9fe54bcbf0ca48c0ed35865b8871a",
|
"vue-js-modal": "latest",
|
||||||
"nuxt": "^1.0.0-alpha.4"
|
"nuxt": "^1.0.0-alpha.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<modal name="foo">Woot</modal>
|
<modal name="foo" :width="300" :height="140">
|
||||||
<p>Hi from {{ name }}.</p>
|
Woot
|
||||||
|
</modal>
|
||||||
|
<p>Hi from <b>{{ name }}</b>.</p>
|
||||||
<button @click="$modal.show('foo')">
|
<button @click="$modal.show('foo')">
|
||||||
Open modal
|
Open modal
|
||||||
</button>
|
</button>
|
||||||
@@ -26,4 +27,9 @@ body {
|
|||||||
color: #2c3e50;
|
color: #2c3e50;
|
||||||
padding: 50px;
|
padding: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.v--modal {
|
||||||
|
text-align: center;
|
||||||
|
padding: 50px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-js-modal",
|
"name": "vue-js-modal",
|
||||||
"description": "Modal Component for Vue.js",
|
"description": "Modal Component for Vue.js",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"author": "euvl <yev.vlasenko@gmail.com>",
|
"author": "euvl <yev.vlasenko@gmail.com>",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user