// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ devtools: { enabled: false }, hooks: {}, app: { pageTransition: { name: 'page', mode: 'out-in' }, head: { viewport: 'width=device-width, initial-scale=1', htmlAttrs: { lang: 'ru', }, link: [ { rel: 'icon', type: 'image/svg+xml', href: '/tabler--fence-filled.svg' }, ] }, }, ssr: true, modules: [ '@nuxtjs/tailwindcss', "@nuxt/image", "nuxt-icon", "nuxt-svgo", '@tresjs/nuxt', '@nuxtjs/robots', '@artmizu/yandex-metrika-nuxt', "@nuxtjs/sitemap" ], runtimeConfig: { public: { // apiBase: process.env.mode == 'DEVELOPMENT' ? "http://localhost:8000" : "https://mns.kustarshina.ru/kp", apiBase: process.env.mode == 'DEVELOPMENT' ? "http://mns.dev.kustarshina.ru" : "https://mns.kustarshina.ru/kp", // apiBase: 'http://localhost:8000', imgBase: 'https://mns.kustarshina.ru', baseUrl: '', yandexMetrika: { id: 0 }, } }, routeRules: { '/index.html': { redirect: '/' }, '/index.php': { redirect: '/' }, }, nitro: { // minify: false, prerender: { crawlLinks: false }, }, vite: { assetsInclude: ['**/*.glb', '**/*.gltf'], build: { target: 'esnext', // minify: 'esbuild' minify: false, }, }, robots: { rules: { UserAgent: '*', // Disallow: '/', } } })