Skip to content

Commit

Permalink
feat: add sitemap generation
Browse files Browse the repository at this point in the history
  • Loading branch information
codeflorist committed Sep 16, 2023
1 parent c2f2c30 commit 69dc6d7
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 1 deletion.
8 changes: 8 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineNuxtConfig({
'@vite-pwa/nuxt',
'@nuxtjs/i18n',
'@nuxtjs/tailwindcss',
'nuxt-simple-sitemap',
'@vueuse/nuxt',
'@invictus.codes/nuxt-vuetify',
],
Expand Down Expand Up @@ -219,6 +220,13 @@ export default defineNuxtConfig({
},
},

// Sitemap module config (see https://github.com/harlan-zw/nuxt-simple-sitemap)
sitemap: {
siteUrl: 'https://privacy-policy-generator.web.florist',
discoverImages: false,
sitemaps: false,
},

// Nitro Config (See https://nitro.unjs.io/config)
nitro: {
prerender: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"humanize-duration": "^3.29.0",
"i18n-iso-countries": "^7.6.0",
"nuxt": "^3.7.1",
"nuxt-simple-sitemap": "^3.3.3",
"postcss": "^8.4.29",
"postcss-extend": "^1.0.5",
"postcss-html": "^1.5.0",
Expand Down
130 changes: 129 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69dc6d7

Please sign in to comment.