Files
front/nuxt.config.ts
T

80 lines
1.8 KiB
TypeScript

export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
ssr: true,
app: {
head: {
htmlAttrs: { lang: "ru" },
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1.0" },
{ "http-equiv": "x-ua-compatible", content: "ie=edge" },
{ name: "theme-color", content: "#ffffff" },
],
link: [
{ rel: "icon", type: "image/png", href: "/assets/ico/favicon.png" },
{
rel: "icon",
type: "image/png",
sizes: "96x96",
href: "/assets/ico/favicon/favicon-96x96.png",
},
{
rel: "icon",
type: "image/png",
sizes: "192x192",
href: "/assets/ico/favicon/web-app-manifest-192x192.png",
},
{
rel: "icon",
type: "image/png",
sizes: "512x512",
href: "/assets/ico/favicon/web-app-manifest-512x512.png",
},
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "/assets/ico/favicon/apple-touch-icon.png",
},
],
},
},
css: [
"bootstrap/dist/css/bootstrap.min.css",
"~/assets/css/style.css",
"~/assets/css/animacion.css",
"~/assets/css/media.css",
],
components: [{ path: "~/components", pathPrefix: false }],
runtimeConfig: {
public: {
siteUrl: "https://na-granicelife.ru",
phoneDisplay: "+7 (914) 549-01-63",
phoneHref: "tel:+79145490163",
telegramUrl: "https://t.me/na_granicelife_bot",
metrikaId: "101671444",
},
},
nitro: {
prerender: {
crawlLinks: true,
routes: ["/", "/vus"],
},
},
routeRules: {
"/vus": { prerender: true },
"/vus.html": { redirect: "/vus" },
},
typescript: {
strict: true,
typeCheck: false,
},
});