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 App from './App.vue'
|
||||
import Modal from 'vue-js-modal'
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import VueJsModal from 'vue-js-modal'
|
||||
|
||||
Vue.use(VueJsModal)
|
||||
|
||||
new Vue({
|
||||
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",
|
||||
"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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user