Skip to content

Commit

Permalink
feat: add sitemap
Browse files Browse the repository at this point in the history
Signed-off-by: nurRiyad <[email protected]>
  • Loading branch information
nurRiyad committed Aug 12, 2024
1 parent 6966c3e commit d3d93c0
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 26 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ logs
.env
.env.*
!.env.example


# local vscode setup
.vscode/settings.json
16 changes: 15 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@ import type { NitroConfig } from 'nitropack'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxt/content', '@nuxt/eslint', '@nuxtjs/tailwindcss', '@nuxt/image', '@nuxtjs/color-mode'],
modules: [
'@nuxt/content',
'@nuxt/eslint',
'@nuxtjs/tailwindcss',
'@nuxt/image',
'@nuxtjs/color-mode',
'@nuxtjs/sitemap',
],
site: {
url: 'https://manjaro.org/',
name: 'Manjaro – The Linux for People and Organizations',
},
sitemap: {
strictNuxtContentPaths: true,
},
eslint: {
checker: true,
config: {
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"@nuxt/image": "^1.7.0",
"@nuxtjs/sitemap": "6.0.0-beta.1",
"nuxt": "^3.11.2",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
Expand All @@ -35,5 +36,6 @@
"overrides": {
"sharp": "0.33.4"
}
}
},
"packageManager": "[email protected]+sha256.9551e803dcb7a1839fdf5416153a844060c7bce013218ce823410532504ac10b"
}
Loading

0 comments on commit d3d93c0

Please sign in to comment.