feat: 添加站点配置

This commit is contained in:
2025-06-06 01:56:59 +08:00
parent dade6466bb
commit 0ae19e64f4
4 changed files with 57 additions and 5 deletions

16
index.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
import type { Release } from "./app.vue";
declare module "nuxt/schema" {
interface AppConfigInput {
latestRelease?: Release;
latestNews: {
title: string;
link: string;
};
}
type AppConfig = AppConfigInput;
}
// It is always important to ensure you import/export something when augmenting a type
export {};