1.0.2 • Published 2 years ago
nuxt-sitemap-plus v1.0.2
nuxt-sitemap-plus
sitemap generation for nuxt3
Install
Using npm
npm i nuxt-sitemap-plus
Using yarn
yarn add nuxt-sitemap-plus
Using pnpm
pnpm add nuxt-sitemap-plus
Usage
2.Add a custom configuration with the sitemap property:
// nuxt.config.js
import sitemapPlus from 'nuxt-sitemap-plus'
export default defineNuxtConfig({
modules: [
sitemapPlus
],
siteMap: {
// options
},
})
2.build your nuxt app and see your sitemap file
npm run build
npx nuxi preview
In your browser go to http://localhost:3000/sitemap.xml
Example
Please see playground