feat: Add avatar upload and merge EditableAvatar.vue with Avatar.vue
This commit is contained in:
@@ -4,6 +4,7 @@ import i18nMessages from 'dashboard/i18n';
|
||||
import { createI18n } from 'vue-i18n';
|
||||
import { vResizeObserver } from '@vueuse/components';
|
||||
import { directive as onClickaway } from 'vue3-click-away';
|
||||
import FloatingVue from 'floating-vue';
|
||||
import store from 'dashboard/store';
|
||||
|
||||
const i18n = createI18n({
|
||||
@@ -17,4 +18,9 @@ export const setupVue3 = defineSetupVue3(({ app }) => {
|
||||
app.use(i18n);
|
||||
app.directive('resize', vResizeObserver);
|
||||
app.directive('onClickaway', onClickaway);
|
||||
app.use(FloatingVue, {
|
||||
instantMove: true,
|
||||
arrowOverflow: false,
|
||||
disposeTimeout: 5000000,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user