Minor fixes

This commit is contained in:
euvl
2017-04-05 11:59:51 +01:00
parent 8cfe6735c6
commit 2d913af2f4
4 changed files with 920 additions and 924 deletions

View File

@@ -1,6 +1,8 @@
import Vue from 'vue'
import App from './App.vue'
import Modal from 'vue-js-modal'
import VueJsModal from 'vue-js-modal'
Vue.use(VueJsModal)
new Vue({
el: '#app',

1828
dist/index.js vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"name": "vue-js-modal",
"description": "Modal Component for Vue.js",
"version": "1.0.11",
"version": "1.0.12",
"author": "euvl <yev.vlasenko@gmail.com>",
"main": "dist/index.js",
"repository": {
@@ -22,6 +22,7 @@
},
"license": "MIT",
"devDependencies": {
"babel-preset-latest": "^6.0.0",
"vue": "^2.1.10",
"babel-core": "^6.0.0",
"babel-loader": "^6.2.10",

View File

@@ -1,4 +1,3 @@
import Vue from 'vue'
import Modal from './Modal.vue'
const ModalPlugin = {
@@ -22,9 +21,7 @@ const ModalPlugin = {
Vue.component('modal', Modal)
return null
},
}
}
Vue.use(ModalPlugin)
export default ModalPlugin