feat: register click outside directives
This commit is contained in:
parent
6016699ec6
commit
7f5d7b93c0
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ login().then(async () => {
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
const pinia = createPinia()
|
const pinia = createPinia()
|
||||||
|
|
||||||
|
app.directive(
|
||||||
|
'click-outside',
|
||||||
|
(await import('@/lib/directives')).clickOutside,
|
||||||
|
)
|
||||||
|
|
||||||
app.use((await import('./router')).default)
|
app.use((await import('./router')).default)
|
||||||
app.use(pinia)
|
app.use(pinia)
|
||||||
app.use(Quasar, {
|
app.use(Quasar, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue