mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Minor fixes
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import Modal from 'vue-js-modal'
|
import VueJsModal from 'vue-js-modal'
|
||||||
|
|
||||||
|
Vue.use(VueJsModal)
|
||||||
|
|
||||||
new Vue({
|
new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
|
|||||||
1828
dist/index.js
vendored
1828
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -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.0.11",
|
"version": "1.0.12",
|
||||||
"author": "euvl <yev.vlasenko@gmail.com>",
|
"author": "euvl <yev.vlasenko@gmail.com>",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -22,6 +22,7 @@
|
|||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"babel-preset-latest": "^6.0.0",
|
||||||
"vue": "^2.1.10",
|
"vue": "^2.1.10",
|
||||||
"babel-core": "^6.0.0",
|
"babel-core": "^6.0.0",
|
||||||
"babel-loader": "^6.2.10",
|
"babel-loader": "^6.2.10",
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import Vue from 'vue'
|
|
||||||
import Modal from './Modal.vue'
|
import Modal from './Modal.vue'
|
||||||
|
|
||||||
const ModalPlugin = {
|
const ModalPlugin = {
|
||||||
@@ -22,9 +21,7 @@ const ModalPlugin = {
|
|||||||
|
|
||||||
Vue.component('modal', Modal)
|
Vue.component('modal', Modal)
|
||||||
return null
|
return null
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Vue.use(ModalPlugin)
|
|
||||||
|
|
||||||
export default ModalPlugin
|
export default ModalPlugin
|
||||||
|
|||||||
Reference in New Issue
Block a user