update
This commit is contained in:
@@ -1,69 +1,70 @@
|
||||
import { seoData } from './app/data'
|
||||
|
||||
import siteConfig from "./app/config";
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-09-30',
|
||||
compatibilityDate: "2025-12-20",
|
||||
srcDir: "app",
|
||||
|
||||
modules: [
|
||||
'@nuxt/icon',
|
||||
'@nuxt/image',
|
||||
'@nuxt/fonts',
|
||||
'@nuxt/eslint',
|
||||
'@vueuse/nuxt',
|
||||
'@nuxtjs/robots',
|
||||
'@nuxtjs/sitemap',
|
||||
'nuxt-og-image',
|
||||
'@nuxt/content',
|
||||
'@nuxtjs/color-mode',
|
||||
'@nuxtjs/tailwindcss',
|
||||
'@formkit/auto-animate',
|
||||
'@stefanobartoletti/nuxt-social-share',
|
||||
"@nuxt/icon",
|
||||
"@nuxt/image",
|
||||
"@nuxt/fonts",
|
||||
"@nuxt/eslint",
|
||||
"@vueuse/nuxt",
|
||||
"@nuxtjs/robots",
|
||||
"@nuxtjs/sitemap",
|
||||
"nuxt-og-image",
|
||||
"@nuxt/content",
|
||||
"@nuxtjs/color-mode",
|
||||
"@nuxtjs/tailwindcss",
|
||||
"@formkit/auto-animate",
|
||||
// '@stefanobartoletti/nuxt-social-share',
|
||||
],
|
||||
|
||||
app: {
|
||||
head: {
|
||||
charset: 'utf-16',
|
||||
viewport: 'width=device-width,initial-scale=1',
|
||||
title: seoData.title,
|
||||
titleTemplate: `%s - ${seoData.title}`,
|
||||
charset: "utf-16",
|
||||
viewport: "width=device-width,initial-scale=1",
|
||||
title: siteConfig.siteMeta.title,
|
||||
titleTemplate: `%s - ${siteConfig.siteMeta.title}`,
|
||||
},
|
||||
pageTransition: { name: 'page', mode: 'out-in' },
|
||||
layoutTransition: { name: 'layout', mode: 'out-in' },
|
||||
pageTransition: { name: "page", mode: "out-in" },
|
||||
layoutTransition: { name: "layout", mode: "out-in" },
|
||||
},
|
||||
|
||||
sitemap: {
|
||||
sources: [seoData.mySite],
|
||||
sources: [siteConfig.siteMeta.url],
|
||||
},
|
||||
|
||||
site: {
|
||||
url: seoData.mySite,
|
||||
name: 'Al Asad Nur Riyad',
|
||||
url: siteConfig.siteMeta.url,
|
||||
name: siteConfig.siteMeta.title,
|
||||
},
|
||||
|
||||
typescript: {
|
||||
strict: true,
|
||||
},
|
||||
|
||||
nitro: {
|
||||
prerender: {
|
||||
crawlLinks: true,
|
||||
routes: ['/', '/rss.xml'],
|
||||
},
|
||||
},
|
||||
// nitro: {
|
||||
// prerender: {
|
||||
// crawlLinks: true,
|
||||
// routes: ['/', '/rss.xml'],
|
||||
// },
|
||||
// },
|
||||
|
||||
colorMode: {
|
||||
classSuffix: '',
|
||||
preference: 'dark',
|
||||
fallback: 'light',
|
||||
classSuffix: "",
|
||||
preference: "dark",
|
||||
fallback: "light",
|
||||
},
|
||||
|
||||
content: {
|
||||
experimental: { nativeSqlite: true },
|
||||
build: {
|
||||
markdown: {
|
||||
highlight: {
|
||||
theme: 'dracula',
|
||||
theme: "dracula",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user