Update to Nuxt 3.14 and Replace npm with pnpm (#72)
Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
committed by
GitHub
parent
32e4f6fe44
commit
9db5ae8103
@@ -2,6 +2,24 @@ import { navbarData, seoData } from './data'
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-09-30',
|
||||
|
||||
modules: [
|
||||
'nuxt-icon',
|
||||
'@nuxt/image',
|
||||
'@nuxt/fonts',
|
||||
'@nuxt/eslint',
|
||||
'@vueuse/nuxt',
|
||||
'@nuxt/content',
|
||||
'nuxt-og-image',
|
||||
'@nuxtjs/robots',
|
||||
'@nuxtjs/sitemap',
|
||||
'@nuxtjs/color-mode',
|
||||
'@nuxtjs/tailwindcss',
|
||||
'@formkit/auto-animate',
|
||||
'@stefanobartoletti/nuxt-social-share',
|
||||
],
|
||||
|
||||
app: {
|
||||
head: {
|
||||
charset: 'utf-16',
|
||||
@@ -32,10 +50,7 @@ export default defineNuxtConfig({
|
||||
nitro: {
|
||||
prerender: {
|
||||
crawlLinks: true,
|
||||
routes: [
|
||||
'/',
|
||||
'/rss.xml',
|
||||
],
|
||||
routes: ['/', '/rss.xml'],
|
||||
},
|
||||
},
|
||||
|
||||
@@ -45,26 +60,9 @@ export default defineNuxtConfig({
|
||||
fallback: 'light',
|
||||
},
|
||||
|
||||
modules: [
|
||||
'nuxt-icon',
|
||||
'@nuxt/image',
|
||||
'@nuxt/fonts',
|
||||
'@vueuse/nuxt',
|
||||
'nuxt-og-image',
|
||||
'@nuxt/content',
|
||||
'@nuxtjs/robots',
|
||||
'@nuxtjs/sitemap',
|
||||
'@nuxtjs/color-mode',
|
||||
'@nuxtjs/tailwindcss',
|
||||
'@formkit/auto-animate',
|
||||
'@stefanobartoletti/nuxt-social-share',
|
||||
],
|
||||
|
||||
content: {
|
||||
highlight: {
|
||||
theme: 'dracula',
|
||||
},
|
||||
},
|
||||
|
||||
compatibilityDate: '2024-09-30',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user