2025-03-03 19:46:35 +01:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
2025-03-05 23:49:24 +01:00
|
|
|
import "dotenv/config";
|
|
|
|
|
2025-03-03 19:46:35 +01:00
|
|
|
export default defineNuxtConfig({
|
|
|
|
compatibilityDate: "2024-11-01",
|
|
|
|
devtools: { enabled: true },
|
2025-03-04 19:27:50 +01:00
|
|
|
modules: ["@nuxtjs/tailwindcss", "@nuxt/fonts", "@pinia/nuxt"],
|
2025-03-03 19:46:35 +01:00
|
|
|
ssr: true,
|
2025-03-04 23:38:21 +01:00
|
|
|
css: ["vue-final-modal/style.css"],
|
2025-03-03 19:46:35 +01:00
|
|
|
imports: {
|
|
|
|
dirs: ["types/*.ts", "store/*.ts", "types/**/*.ts"],
|
|
|
|
},
|
2025-03-08 14:14:19 +01:00
|
|
|
// Transition (later)
|
2025-03-06 19:03:49 +01:00
|
|
|
// app: {
|
|
|
|
// pageTransition: { name: "page", mode: "out-in" },
|
|
|
|
// },
|
2025-03-03 19:46:35 +01:00
|
|
|
runtimeConfig: {
|
|
|
|
public: {
|
2025-03-05 23:49:24 +01:00
|
|
|
cdn_url: process.env.CDN_URL,
|
2025-03-03 19:46:35 +01:00
|
|
|
},
|
|
|
|
},
|
2025-03-08 14:14:19 +01:00
|
|
|
routeRules: {
|
|
|
|
"/": { prerender: true },
|
|
|
|
},
|
2025-03-04 23:38:21 +01:00
|
|
|
});
|