refactor(ui): update import paths from @/lib/utils to ~/lib/utils
Standardize import paths across UI components to use ~/lib/utils alias instead of @/lib/utils for better consistency and maintainability.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import type { VariantProps } from 'class-variance-authority'
|
||||
import type { ToggleGroupRootEmits, ToggleGroupRootProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import type { toggleVariants } from '@/components/pub/ui/toggle'
|
||||
import type { toggleVariants } from '~/components/pub/ui/toggle'
|
||||
import { ToggleGroupRoot, useForwardPropsEmits } from 'radix-vue'
|
||||
import { computed, provide } from 'vue'
|
||||
import { cn } from '~/lib/utils'
|
||||
|
||||
@@ -4,8 +4,9 @@ import type { ToggleGroupItemProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { ToggleGroupItem, useForwardProps } from 'radix-vue'
|
||||
import { computed, inject } from 'vue'
|
||||
import { toggleVariants } from '@/components/pub/ui/toggle'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { toggleVariants } from '~/components/pub/ui/toggle'
|
||||
import { cn } from '~/lib/utils'
|
||||
|
||||
|
||||
type ToggleGroupVariants = VariantProps<typeof toggleVariants>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user