27 lines
677 B
TypeScript
27 lines
677 B
TypeScript
import { fileURLToPath } from "node:url"
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: "2025-07-15",
|
|
devtools: { enabled: true },
|
|
runtimeConfig: {
|
|
// Private server configuration. Matching NUXT_* variables override these
|
|
// defaults at runtime in the built Nitro server. Legacy variable names
|
|
// are resolved by server utilities at runtime, never during this build.
|
|
mongodbUri: "",
|
|
uploadDir: "",
|
|
tokenExpire: "",
|
|
},
|
|
modules: ["@nuxt/fonts", "@nuxt/icon", "@nuxt/image"],
|
|
components: [
|
|
{
|
|
path: "~/ui",
|
|
pathPrefix: false,
|
|
},
|
|
{
|
|
path: "~/components",
|
|
pathPrefix: true,
|
|
},
|
|
],
|
|
})
|