| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/parsmega.nuxt/ |
Upload File : |
module.exports = {
ssr: true,
telemetry: false,
head() {
const isEn = this.$i18n?.locale == "en";
const link = [
{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" },
{
rel: "preload",
href: "/fonts/Shabnam-FD.woff2", // Path to your font file
as: "font",
type: "font/woff2",
crossorigin: true
},
{
rel: "preload",
href: "/fonts/Shabnam-Bold-FD.woff2", // Path to your font file
as: "font",
type: "font/woff2",
crossorigin: true
},
{
rel: "preload",
href: "/fonts/icomoon.woff2", // Path to your font file
as: "font",
type: "font/woff2",
crossorigin: true
}
];
return {
htmlAttrs: {
lang: this.$i18n.locale
},
meta: [
{ charset: "utf-8" },
{
name: "viewport",
content: "width=device-width, initial-scale=1"
},
{ hid: "description", name: "description", content: "" }
],
link: link
};
},
css: [],
plugins: [
{
src: "~/plugins/v-waypoint.js",
mode: "client"
},
{
src: "~/plugins/animate.client.js",
mode: "client"
}
],
components: false,
buildModules: [],
version: 1,
modules: [
"@nuxtjs/axios",
"@nuxtjs/style-resources",
"nuxt-i18n",
[
"nuxt-lazy-load",
{
directiveOnly: true
}
]
],
styleResources: {
scss: ["~/assets/scss/basis/_index.scss"]
},
build: {
cssSourceMap: false,
extractCSS: false, // Extract CSS into separate files
analyze: false
},
i18n: {
locales: [
{ code: "fa", iso: "fa-IR", file: "fa.js", dir: "rtl" },
{ code: "en", iso: "en-US", file: "en.js", dir: "ltr" }
],
lazy: true,
langDir: "languages/",
defaultLocale: "fa",
detectBrowserLanguage: false,
fallbackLocale: "fa",
useCookie: false
},
serverMiddleware: ["~/middleware/redirects"],
loading: {
color: "#FFB301",
height: "5px",
continuous: true
},
render: {
resourceHints: false // Disable preloads
}
};