Skip to content

Commit

Permalink
fix: Fix useAttrs not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisGV04 committed Sep 8, 2023
1 parent aa098c8 commit 0cbe60e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/runtime/components/elements/Badge.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { useAppConfig, useAttrs } from "#imports";
import omit from "lodash.omit";
import { useAppConfig } from "#imports";
import { twJoin, twMerge } from "tailwind-merge";
import { computed, type PropType } from "vue";
import type {
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/components/layout/Container.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script setup lang="ts">
import { useAppConfig, useAttrs } from "#imports";
import omit from "lodash.omit";
import { useAppConfig } from "#imports";
import { computed, type PropType } from "vue";
import type { UiContainerConfig } from "../../types";
import { defuTwMerge } from "../../utils";
// @ts-expect-error
import buildAppConfig from "#build/app.config";
import { twMerge, twJoin } from "tailwind-merge";
import { twJoin, twMerge } from "tailwind-merge";
type UiConfig = Partial<UiContainerConfig>;
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/components/overlays/Dialog.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { useAppConfig } from "#imports";
import { useAppConfig, useAttrs } from "#imports";
import {
Dialog,
DialogPanel,
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/components/overlays/Slideover.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script setup lang="ts">
import omit from "lodash.omit";
import { useAppConfig } from "#imports";
import { useAppConfig, useAttrs } from "#imports";
import {
Dialog,
DialogPanel,
TransitionChild,
TransitionRoot,
} from "@headlessui/vue";
import omit from "lodash.omit";
import { twMerge } from "tailwind-merge";
import { computed, type PropType } from "vue";
import type { UiSlideoverConfig } from "../../types";
Expand Down
6 changes: 3 additions & 3 deletions src/runtime/components/overlays/Tooltip.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script setup lang="ts">
import omit from "lodash.omit";
import { useAppConfig } from "#imports";
import { useAppConfig, useAttrs } from "#imports";
import {
autoUpdate,
flip,
Expand All @@ -10,10 +9,11 @@ import {
type UseFloatingOptions,
} from "@floating-ui/vue";
import { defu } from "defu";
import omit from "lodash.omit";
import { twMerge } from "tailwind-merge";
import { computed, ref, type PropType } from "vue";
import type { UiTooltipConfig } from "../../types";
import { defuTwMerge } from "../../utils";
import { twMerge } from "tailwind-merge";
// @ts-expect-error
import buildAppConfig from "#build/app.config";
Expand Down

0 comments on commit 0cbe60e

Please sign in to comment.