Skip to content

Commit a69756f

Browse files
committed
fixed docs, example
1 parent d2b1633 commit a69756f

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

docs/components/global/BaseExampleAttach.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
<span class="text-2xl"># Attach modal</span>
1212
<base-lorem />
1313
</vue-final-modal>
14-
<div id="attach" class="relative flex justify-center items-center w-full h-64 bg-gray-700"></div>
14+
<div
15+
id="attach"
16+
class="relative flex justify-center items-center w-full h-64 dark:bg-gray-700 border dark:border-gray-700"
17+
></div>
1518
</div>
1619
</template>
1720

docs/components/global/BaseExampleAttachFalse.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<template>
22
<div>
3-
<div class="relative flex justify-center items-center w-full h-64 bg-gray-700">
3+
<div
4+
class="relative flex justify-center items-center w-full h-64 dark:bg-gray-700 border dark:border-gray-700"
5+
>
46
<base-button @click="showModal = true">Attach: false</base-button>
57
<vue-final-modal
68
v-model="showModal"

docs/content/en/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default {
6565
```js[vue-final-modal.js]
6666
6767
68-
import VueFinalModal from 'vue-final-modal/lib/VueFinalModal.vue'
68+
import { VueFinalModal } from 'vue-final-modal/lib'
6969
7070
Vue.component('VueFinalModal', VueFinalModal)
7171
```

docs/plugins/global.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import Vue from 'vue'
2-
import vfm from '../../lib/index.js'
2+
import { VueFinalModal } from '../../lib'
33

4-
Vue.component('VueFinalModal', vfm.VueFinalModal)
4+
Vue.component('VueFinalModal', VueFinalModal)

0 commit comments

Comments
 (0)