Vue Cli Plugin Sitemap Versions Save

🗺️ A Vue CLI plugin to generate simple or complex sitemaps effortlessly.

v2.3.0

3 years ago
  • Add hashMode option to support Vue Router in hash mode (#14)

v2.2.1

3 years ago
  • Add esm as a peer dependency

v2.2.0

3 years ago

Breaking changes

  • Ignore all routes with globs in their path unless they have the loc meta property
  • Throw an error during generation if a slug doesn't match the regex pattern of a path parameter

New

  • Add support for paths with regexp patterns
  • Add support for optional path parameters

Bugfixes

  • Create the sitemap CLI command even if the config object is missing

v2.1.2

3 years ago
  • Avoid writing sitemaps twice when creating two bundles (e.g. with --modern flag)

v2.1.1

4 years ago
  • Fix error when no config or pluginOptions objects are present

v2.1.0

4 years ago
  • Add support for nested routes
  • Improve message of validation errors

v2.0.2

4 years ago
  • Add support for Node 10.x

v2.0.1

4 years ago
  • Add support for port number and IPv4 addresses in baseURL

v2.0.0

4 years ago

Breaking changes

  • Require sitemap properties in route objects to be placed in meta.sitemap (see example)
  • Throw an error if there are dynamic routes with no slugs

New

  • Split sitemaps of more than 50,000 URLs and automatically generate the associated index
  • Add support for asynchronous generators in slugs (#3)
  • Add support for routes with multiple dynamic parameters (#4)
  • Add support for plain strings in the list of handwritten URLs

Changes

  • Improve performance when processing a large number of URLs

v1.0.4

4 years ago

New

  • Add outputDir option
  • Add --output-dir CLI option
  • Add short aliases for CLI options