diff --git a/assets/data/nav.ts b/assets/data/nav.ts index 2cc59a48..3cf1f4e5 100644 --- a/assets/data/nav.ts +++ b/assets/data/nav.ts @@ -1,4 +1,4 @@ -import type { FunctionalComponent } from "nuxt/dist/app/compat/capi"; +import type { Component } from "#app/compat/capi"; import GHIcon from "bi/github.svg"; export type NavSection = { @@ -18,7 +18,7 @@ export type NavItem = { to: string; } | { /** アイコン(svgをインポートして貼り付け) */ - icon: FunctionalComponent | string; + icon: Component | string; /** リンク先 */ to: string; }; diff --git a/components/servers/Item.vue b/components/servers/Item.vue index 4e174130..8aace34c 100644 --- a/components/servers/Item.vue +++ b/components/servers/Item.vue @@ -3,8 +3,8 @@