feat(frontend): support static website demo mode

This commit is contained in:
foreleven
2026-05-22 21:36:52 +08:00
parent 253542ea0d
commit 4450f14928
20 changed files with 356 additions and 72 deletions
+4
View File
@@ -16,6 +16,10 @@ const withNextra = nextra({});
/** @type {import("next").NextConfig} */
const config = {
output:
process.env.NEXT_CONFIG_BUILD_OUTPUT === "standalone"
? "standalone"
: undefined,
i18n: {
locales: ["en", "zh"],
defaultLocale: "en",