Nuxt Content 3 migration #12

Merged
eggy merged 81 commits from js into master 2022-08-10 18:38:39 -04:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 9e51ad8170 - Show all commits

View File

@ -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();

View File

@ -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);