nuxt-seo-utils

SEO utilities to improve your Nuxt sites discoverability and shareability.

130
24
130
2
TypeScript
public

nuxt-seo-utils

npm version
npm downloads
License
Nuxt

Nuxt SEO Utils is a collection of defaults and utilities to improve your Nuxt site’s discoverability and shareability.

While there are several features covering many aspects of SEO, it covers important defaults such as automatic canonical URLs and
open graph tags.

Made possible by my Sponsor Program πŸ’–
Follow me @harlan_zw 🐦 β€’ Join Discord for help

Features

  • β–² Next.js inspired Metadata Files
  • ✨ Use SEO meta in your nuxt.config (app.seoMeta) and route rules
  • πŸ€– Adds meta tags (og:title, og:description, etc.) from page title and description
  • πŸ§™ Correct tags that need to be absolute (i.e og:image)
  • 🧩 Site config template params useHead({ title: '%site.title' })
  • 🍞 Breadcrumb composable
  • πŸ§™ Best practice defaults and enhanced titles
  • ⚑ Inline minification of <script> and <style> tags (esbuild + lightningcss at build, lightweight runtime fallback)

Installation

Install nuxt-seo-utils dependency to your project:

npx nuxi@latest module add nuxt-seo-utils

[!TIP]
Generate an Agent Skill for this package using skilld:

npx skilld add nuxt-seo-utils

πŸ’‘ Set up your meta tags? Check titles, descriptions and OG tags with a SERP preview using the free Meta Tag Checker, or monitor them across every page with Nuxt SEO Pro.

Documentation

πŸ“– Read the full documentation for more information.

Demos

Basic

Sponsors

License

Licensed under the MIT license.

v0.3.3[beta]