From 082a9cb59c5b802995aaf6bc1da6969b5254d62c Mon Sep 17 00:00:00 2001 From: familyboat <84062528+familyboat@users.noreply.github.com> Date: Sun, 1 Jun 2025 05:55:15 +0800 Subject: [PATCH] fix: missing "default" export in module "data.yml" (#20094) --- docs/runtime/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/runtime/plugins.md b/docs/runtime/plugins.md index a8b6917a09..aecf366fe0 100644 --- a/docs/runtime/plugins.md +++ b/docs/runtime/plugins.md @@ -102,7 +102,7 @@ Once the plugin is registered, `.yaml` and `.yml` files can be directly imported {% codetabs %} ```ts#index.ts -import data from "./data.yml" +import * as data from "./data.yml" console.log(data); ```