2026-06-30 00:46:55 +03:30
|
|
|
import { defineNuxtConfig } from 'nuxt/config'
|
|
|
|
|
|
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
|
compatibilityDate: '2026-05-27',
|
|
|
|
|
srcDir: 'src/',
|
2026-07-14 11:21:03 +03:30
|
|
|
dir: {
|
|
|
|
|
public: 'public'
|
|
|
|
|
},
|
2026-06-30 00:46:55 +03:30
|
|
|
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt'],
|
|
|
|
|
css: ['~/assets/css/fonts.css'],
|
|
|
|
|
tailwindcss: {
|
|
|
|
|
cssPath: '~/assets/css/tailwind.css',
|
|
|
|
|
configPath: 'tailwind.config.ts',
|
|
|
|
|
viewer: false
|
|
|
|
|
},
|
|
|
|
|
app: {
|
|
|
|
|
head: {
|
|
|
|
|
htmlAttrs: {
|
|
|
|
|
lang: 'fa',
|
|
|
|
|
dir: 'rtl'
|
|
|
|
|
},
|
|
|
|
|
title: 'استودیو نورو | Noro Studio',
|
2026-07-14 11:21:03 +03:30
|
|
|
link: [
|
|
|
|
|
{ rel: 'icon', href: '/favicon.ico', sizes: 'any' },
|
|
|
|
|
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
|
|
|
|
|
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon.png' },
|
|
|
|
|
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' }
|
|
|
|
|
],
|
2026-06-30 00:46:55 +03:30
|
|
|
meta: [
|
|
|
|
|
{ charset: 'utf-8' },
|
|
|
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
|
|
|
{
|
|
|
|
|
name: 'description',
|
|
|
|
|
content:
|
|
|
|
|
'استودیو نورو — طراحی هویت بصری، UI/UX، سوشال مدیا و محتوای دیجیتال'
|
|
|
|
|
},
|
2026-07-14 11:21:03 +03:30
|
|
|
{ name: 'color-scheme', content: 'dark light' },
|
|
|
|
|
{ name: 'theme-color', content: '#39c0c4', media: '(prefers-color-scheme: light)' },
|
|
|
|
|
{ name: 'theme-color', content: '#050808', media: '(prefers-color-scheme: dark)' }
|
2026-06-30 00:46:55 +03:30
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
typescript: {
|
|
|
|
|
strict: true
|
|
|
|
|
},
|
|
|
|
|
runtimeConfig: {
|
|
|
|
|
public: {
|
|
|
|
|
cmsApiUrl: process.env.NUXT_PUBLIC_CMS_API_URL || 'http://localhost:4000'
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-07-14 11:21:03 +03:30
|
|
|
devtools: { enabled: false }
|
2026-06-30 00:46:55 +03:30
|
|
|
})
|