Nuxt Content 3 migration #12
@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type Ref, ref } from "vue";
|
import { ref } from "vue";
|
||||||
import IconSun from "@/assets/images/sun.svg?component";
|
import IconSun from "@/assets/images/sun.svg?component";
|
||||||
import IconMoon from "../assets/images/moon.svg?component";
|
import IconMoon from "@/assets/images/moon.svg?component";
|
||||||
|
|
||||||
const colorMode = useColorMode();
|
const colorMode = useColorMode();
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import utc from "dayjs/plugin/utc.js";
|
import utc from "dayjs/plugin/utc.js";
|
||||||
import tz from "dayjs/plugin/timezone.js";
|
import tz from "dayjs/plugin/timezone.js";
|
||||||
import type { BlogParsedContent, StoryParsedContent } from "@/shared/types";
|
import type { StoryParsedContent } from "@/shared/types";
|
||||||
|
|
||||||
dayjs.extend(utc);
|
dayjs.extend(utc);
|
||||||
dayjs.extend(tz);
|
dayjs.extend(tz);
|
||||||
|
Loading…
Reference in New Issue
Block a user