File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ UMD builds can be used directly in the browser via a `<script>` tag.
60
60
```
61
61
62
62
``` js
63
- import VueFinalModal from ' vue-final-modal'
63
+ import { VueFinalModal } from ' vue-final-modal'
64
64
65
65
export default {
66
66
components: {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ UMD builds can be used directly in the browser via a `<script>` tag.
60
60
```
61
61
62
62
``` js
63
- import VueFinalModal from ' vue-final-modal'
63
+ import { VueFinalModal } from ' vue-final-modal'
64
64
65
65
export default {
66
66
components: {
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ export default {
45
45
``` js[main.js]
46
46
47
47
48
- import VueFinalModal from 'vue-final-modal'
48
+ import { VueFinalModal } from 'vue-final-modal'
49
49
50
- Vue.use( VueFinalModal)
50
+ Vue.component('VueFinalModal', VueFinalModal)
51
51
```
52
52
53
53
## Server Side Render
@@ -65,9 +65,9 @@ export default {
65
65
``` js[vue-final-modal.js]
66
66
67
67
68
- import VueFinalModal from 'vue-final-modal/plugin '
68
+ import { VueFinalModal } from 'vue-final-modal'
69
69
70
- Vue.use( VueFinalModal)
70
+ Vue.component('VueFinalModal', VueFinalModal)
71
71
```
72
72
73
73
## CDN
You can’t perform that action at this time.
0 commit comments