Nuxt Content 3 migration #12
@ -1,5 +1,7 @@
|
|||||||
# Nuxt 3 Minimal Starter
|
# Nuxt 3 Minimal Starter
|
||||||
|
|
||||||
|
**WARN: Volar 0.40.0 breaks everything and I don't know why — stick with Volar 0.39.5.**
|
||||||
|
|
||||||
Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.
|
Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
@ -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 { 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