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:
Khafid Prayoga
2025-08-22 11:18:06 +07:00
parent 746d39ea14
commit ae0acf84d0
217 changed files with 444 additions and 239 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<script setup lang="ts">
import type { CarouselEmits, CarouselProps, WithClassAsProps } from './interface'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
import { useProvideCarousel } from './useCarousel'
const props = withDefaults(defineProps<CarouselProps & WithClassAsProps>(), {
@@ -1,6 +1,7 @@
<script setup lang="ts">
import type { WithClassAsProps } from './interface'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
import { useCarousel } from './useCarousel'
defineOptions({
@@ -1,6 +1,7 @@
<script setup lang="ts">
import type { WithClassAsProps } from './interface'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
import { useCarousel } from './useCarousel'
const props = defineProps<WithClassAsProps>()
@@ -1,7 +1,8 @@
<script setup lang="ts">
import type { WithClassAsProps } from './interface'
import { ArrowRight } from 'lucide-vue-next'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
import { Button } from '../button'
import { useCarousel } from './useCarousel'
@@ -1,7 +1,8 @@
<script setup lang="ts">
import type { WithClassAsProps } from './interface'
import { ArrowLeft } from 'lucide-vue-next'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
import { Button } from '../button'
import { useCarousel } from './useCarousel'