Standardized tilde imports for non modules
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
useForwardPropsEmits
|
||||
} from "radix-vue"
|
||||
import { X } from "lucide-vue-next"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
||||
const emits = defineEmits<DialogContentEmits>()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue"
|
||||
import { DialogDescription, type DialogDescriptionProps, useForwardProps } from "radix-vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from "vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<{ class?: HTMLAttributes["class"] }>()
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from "vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<{
|
||||
class?: HTMLAttributes["class"]
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
useForwardPropsEmits
|
||||
} from "radix-vue"
|
||||
import { X } from "lucide-vue-next"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
||||
const emits = defineEmits<DialogContentEmits>()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue"
|
||||
import { DialogTitle, type DialogTitleProps, useForwardProps } from "radix-vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user