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:
No files matched your search
@@ -3,7 +3,8 @@ import type { PaginationEllipsisProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { PaginationEllipsis } from 'radix-vue'
|
||||
import { computed } from 'vue'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { cn } from '~/lib/utils'
|
||||
|
||||
|
||||
const props = defineProps<PaginationEllipsisProps & { class?: HTMLAttributes['class'] }>()
|
||||
|
||||
|
||||
@@ -3,8 +3,9 @@ import type { PaginationFirstProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { PaginationFirst } from 'radix-vue'
|
||||
import { computed } from 'vue'
|
||||
import { Button } from '@/components/pub/ui/button'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { Button } from '~/components/pub/ui/button'
|
||||
import { cn } from '~/lib/utils'
|
||||
|
||||
|
||||
const props = withDefaults(defineProps<PaginationFirstProps & { class?: HTMLAttributes['class'] }>(), {
|
||||
asChild: true,
|
||||
|
||||
@@ -3,8 +3,9 @@ import type { PaginationLastProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { PaginationLast } from 'radix-vue'
|
||||
import { computed } from 'vue'
|
||||
import { Button } from '@/components/pub/ui/button'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { Button } from '~/components/pub/ui/button'
|
||||
import { cn } from '~/lib/utils'
|
||||
|
||||
|
||||
const props = withDefaults(defineProps<PaginationLastProps & { class?: HTMLAttributes['class'] }>(), {
|
||||
asChild: true,
|
||||
|
||||
@@ -3,8 +3,9 @@ import type { PaginationNextProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { PaginationNext } from 'radix-vue'
|
||||
import { computed } from 'vue'
|
||||
import { Button } from '@/components/pub/ui/button'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { Button } from '~/components/pub/ui/button'
|
||||
import { cn } from '~/lib/utils'
|
||||
|
||||
|
||||
const props = withDefaults(defineProps<PaginationNextProps & { class?: HTMLAttributes['class'] }>(), {
|
||||
asChild: true,
|
||||
|
||||
@@ -3,8 +3,9 @@ import type { PaginationPrevProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { PaginationPrev } from 'radix-vue'
|
||||
import { computed } from 'vue'
|
||||
import { Button } from '@/components/pub/ui/button'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { Button } from '~/components/pub/ui/button'
|
||||
import { cn } from '~/lib/utils'
|
||||
|
||||
|
||||
const props = withDefaults(defineProps<PaginationPrevProps & { class?: HTMLAttributes['class'] }>(), {
|
||||
asChild: true,
|
||||
|
||||
Reference in New Issue
Block a user