We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac19b4f commit 1d009b6Copy full SHA for 1d009b6
src/Demo.vue
@@ -66,13 +66,8 @@
66
</template>
67
68
<script>
69
- import A11yDialog from '../src/A11yDialog.vue'
70
-
71
export default {
72
name: 'DialogDemo',
73
- components: {
74
- 'a11y-dialog': A11yDialog,
75
- },
76
data: () => ({
77
dialog: null,
78
role: 'dialog',
src/demo.js
@@ -1,5 +1,6 @@
1
import { createApp } from 'vue'
2
import Demo from './Demo.vue'
3
+import A11yDialog from '../dist/vue-a11y-dialog.esm.js'
4
import './demo.css'
5
-createApp(Demo).mount('#app')
6
+createApp(Demo).use(A11yDialog).mount('#app')
0 commit comments