Skip to content

Commit 1562587

Browse files
committed
Export VueAxePopup component
1 parent b447051 commit 1562587

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/composables/useVueAxe.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import merge from 'deepmerge'
2-
import VueAxePopup from '@/components/Popup'
32

43
import useAxe from '@/composables/useAxe'
54
import useLocale from '@/composables/useLocale'
@@ -16,8 +15,6 @@ export default function useVueAxe (options) {
1615
const { $t } = useLocale(axeOptions.config.locale && axeOptions.config.locale.lang)
1716

1817
function registerPlugin (app) {
19-
app.component('VueAxePopup', VueAxePopup)
20-
2118
app.config.globalProperties.$vat = $t
2219

2320
app.provide(vueAxe, {

src/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ export default function install (app, options = {}) {
55
const { registerPlugin } = useVueAxe(options)
66
registerPlugin(app)
77
}
8+
9+
export { default as VueAxePopup } from '@/components/Popup'

0 commit comments

Comments
 (0)