2026-09-30 18:42:28 +03:30
|
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
|
|
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
|
compatibilityDate: "2025-01-01",
|
|
|
|
|
devtools: { enabled: false },
|
|
|
|
|
css: ["~/assets/css/main.css"],
|
|
|
|
|
vite: {
|
|
|
|
|
plugins: [tailwindcss()],
|
|
|
|
|
},
|
|
|
|
|
runtimeConfig: {
|
|
|
|
|
apiBase: process.env.NUXT_API_BASE || "http://127.0.0.1:3050",
|
|
|
|
|
public: {
|
|
|
|
|
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || "https://montech.ir",
|
|
|
|
|
apiBase: process.env.NUXT_PUBLIC_API_BASE || "",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
app: {
|
|
|
|
|
head: {
|
2026-09-30 20:33:37 +03:30
|
|
|
htmlAttrs: { lang: "fa", dir: "rtl" },
|
2026-09-30 18:42:28 +03:30
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
nitro: {
|
|
|
|
|
preset: "node-server",
|
|
|
|
|
},
|
|
|
|
|
});
|