fix(module): handle tailwindMerge config from app.config

This commit is contained in:
Benjamin Canac
2023-12-15 14:55:28 +01:00
parent 23770d8cf0
commit fd95a3f646
27 changed files with 57 additions and 55 deletions

View File

@@ -57,13 +57,13 @@ import { defineComponent, ref, computed, toRef, onMounted, resolveComponent } fr
import type { PropType } from 'vue'
import { Menu as HMenu, MenuButton as HMenuButton, MenuItems as HMenuItems, MenuItem as HMenuItem } from '@headlessui/vue'
import { defu } from 'defu'
import { twMerge, twJoin } from 'tailwind-merge'
import { twJoin } from 'tailwind-merge'
import UIcon from '../elements/Icon.vue'
import UAvatar from '../elements/Avatar.vue'
import UKbd from '../elements/Kbd.vue'
import { useUI } from '../../composables/useUI'
import { usePopper } from '../../composables/usePopper'
import { mergeConfig, omit } from '../../utils'
import { mergeConfig, twMerge, omit } from '../../utils'
import type { DropdownItem, PopperOptions, Strategy } from '../../types'
// @ts-expect-error
import appConfig from '#build/app.config'