Files
yphsalumni.org/nuxt.config.ts
xiaomai 4a3930bfd1 feat(app): introduce Hall of Fame section and refactor UI
This commit adds the '名人堂' (Hall of Fame) feature and removes the Element Plus dependency.

- feat(content): Add Hall of Fame section with a new content collection, homepage component, and detail pages.
- refactor(join-us): Rewrite the 'Join Us' form to remove Element Plus, using native elements and Reka UI. The form is
temporarily disabled.
- feat(ui): Display cover images on News and Events cards.
- chore: Integrate Umami for web analytics.
- fix: Correct minor text issues, including graduation year in the footer.
2025-10-03 10:32:03 +08:00

24 lines
537 B
TypeScript

import tailwindcss from "@tailwindcss/vite";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
modules: ["@nuxt/content", "@nuxt/image", "@nuxt/ui", "reka-ui/nuxt"],
css: ["~/assets/css/main.css"],
vite: {
plugins: [tailwindcss()],
},
app: {
head: {
title: "永平中学校友会",
script: [
{
src: "/analytics.js",
tagPosition: "head",
},
],
},
},
});