fix, refac: bvn에 맞게 tooltip directive 변경

- installVue3Component로 통합
- boostrap-vue-next 0.7.3 directive 문제 우회
This commit is contained in:
2023-03-19 14:41:09 +09:00
parent 31f4472a8a
commit 761b91b7db
30 changed files with 108 additions and 120 deletions
+17
View File
@@ -0,0 +1,17 @@
import { BootstrapVueNext, BToastPlugin } from "bootstrap-vue-next";
import { Directives } from "bootstrap-vue-next";
import type { App } from "vue";
import Multiselect from "vue-multiselect";
export function installVue3Components<T>(app: App<T>): App<T> {
app.use(BootstrapVueNext).use(BToastPlugin).component('v-multiselect', Multiselect);
for (const [name, directive] of Object.entries(Directives)) {
//BVN 0.7.3 directive 이름 hack
if (!name.startsWith('v')) {
continue;
}
app.directive(name.substring(1), directive);
}
return app;
}