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 6af60ad commit 27ce679Copy full SHA for 27ce679
README.md
@@ -20,12 +20,23 @@ npm install vue-a11y-dialog
20
21
In your `main.js` application file, install the component:
22
23
+### In Vue 2
24
```js
25
import VueA11yDialog from "vue-a11y-dialog";
26
27
Vue.use(VueA11yDialog);
28
```
29
30
+### In Vue 3
31
+```js
32
+import { createApp } from 'vue'
33
+import App from './App.vue'
34
+
35
+import VueA11yDialog from "vue-a11y-dialog";
36
37
+createApp(App).use(VueA11yDialog).mount('#app')
38
+```
39
40
Then use it as follows:
41
42
```html
0 commit comments