Files
Montech_Landing/apps/landing/nuxt.config.ts
T
MahdiandCursor 3410f3e5ed Make admin section editor form-based and localize Montech site to Persian.
Operators can edit landing copy as plain fields instead of JSON/HTML; default CMS seed and UI chrome are now Farsi/RTL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 20:33:37 +03:30

34 lines
990 B
TypeScript

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: {
htmlAttrs: { lang: "fa", dir: "rtl" },
link: [
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
{
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&family=Instrument+Serif:ital@0;1&display=swap",
},
],
},
},
nitro: {
preset: "node-server",
},
});