Initial commit
This commit is contained in:
commit
92e96b9107
85 changed files with 24969 additions and 0 deletions
53
nuxt.config.ts
Normal file
53
nuxt.config.ts
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
future: {
|
||||
compatibilityVersion: 4,
|
||||
},
|
||||
srcDir: "app/",
|
||||
compatibilityDate: "2024-11-01",
|
||||
devtools: { enabled: true },
|
||||
|
||||
modules: ["@nuxt/content", "@nuxt/ui", "nuxt-auth-utils", "@vueuse/nuxt"],
|
||||
|
||||
runtimeConfig: {
|
||||
// Private runtime config (server-side only)
|
||||
mongodbUri:
|
||||
process.env.MONGODB_URI || "mongodb://localhost:27017/wiki-ghostguild",
|
||||
jwtSecret: process.env.JWT_SECRET || "your-secret-key-change-in-production",
|
||||
ghostguildApiUrl:
|
||||
process.env.GHOSTGUILD_API_URL || "https://ghostguild.org/api",
|
||||
ghostguildApiKey: process.env.GHOSTGUILD_API_KEY || "",
|
||||
ghostguildClientId: process.env.GHOSTGUILD_CLIENT_ID || "",
|
||||
ghostguildClientSecret: process.env.GHOSTGUILD_CLIENT_SECRET || "",
|
||||
|
||||
// Public runtime config (client-side)
|
||||
public: {
|
||||
siteUrl: process.env.SITE_URL || "https://wiki.ghostguild.org",
|
||||
siteName: "Ghost Guild Knowledge Commons",
|
||||
siteDescription:
|
||||
"Collaborative knowledge base for the Baby Ghosts community",
|
||||
},
|
||||
},
|
||||
|
||||
nitro: {
|
||||
experimental: {
|
||||
wasm: true,
|
||||
},
|
||||
prerender: {
|
||||
routes: ["/", "/articles", "/articles/new"],
|
||||
},
|
||||
},
|
||||
|
||||
typescript: {
|
||||
strict: true,
|
||||
typeCheck: true,
|
||||
},
|
||||
|
||||
css: ["~/assets/css/main.css"],
|
||||
|
||||
vite: {
|
||||
build: {
|
||||
minify: "esbuild",
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue