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 authored and romangg committed Aug 14, 2024
1 parent 6966c3e commit 2d37d43
Show file tree
Hide file tree
Showing 4 changed files with 336 additions and 22 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
1 change: 1 addition & 0 deletions 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 Down
Loading

0 comments on commit 2d37d43

Please sign in to comment.