Sitemap Stucture

A sitemap for web pages, often referred to as an XML sitemap, is a file that provides information about the pages, videos, and other files on your website and how they are organized. It's a tool used by website owners and webmasters to help search engines like Google, Bing, and others understand the structure of their site and index its content more effectively. Here's how to create and use a sitemap:
1. Add @nuxtjs/sitemap dependency to your project
      npm install @nuxtjs/sitemap
  
2. Add @nuxtjs/sitemap to the modules section of your nuxt.config.js file
      {
  modules: [
    '@nuxtjs/sitemap'
  ],
}
  
3. Add sitemap object of your nuxt.config.js file
      {
   "sitemap":[
      {
         "path":"/sitemap.xml",
         "hostname":"seo101.vercel.com",
         "xmlNs":"xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"",
         "lastmod":"new Date()",
         "sitemaps":[
            {
               "path":"/",
               "routes":[
                  {
                     "url":"/",
                     "priority":1.0,
                     "lastmod":new Date()
                  }
               ]
            }
         ]
      }
   ]
}
  
4.Your website sitemap shout look like this