npm.io
5.0.3 • Published 1 week ago

nuxt-site-config

Licence
MIT
Version
5.0.3
Deps
8
Size
61 kB
Vulns
0
Weekly
0
Stars
79

Nuxt SEO nuxt-site-config

npm version npm downloads License Nuxt Skill repository on skilld.dev

Nuxt Site Config is a module for module authors to share common site config across modules.

Module authors consume it to provide a common site config API; end users typically interact with it through other modules.

Made possible by my Sponsor Program
Follow me @harlan_zw • Join Discord for help

Features

  • Zero-config, best practice site config defaults
  • Site config from any source: Nuxt Config, Environment Variables or Programmatically
  • Powerful and runtime agnostic APIs for module authors useSiteConfig, createSitePathResolver, withSiteUrl, useNitroOrigin, etc
  • Ledger capabilities
  • Integrates with @nuxtjs/i18n

Installation

Install nuxt-site-config dependency to your project:

npx nuxt module add nuxt-site-config

Using an AI agent? Get the nuxt-site-config Skill on skilld.dev/gh/harlan-zw/nuxt-site-config.

Documentation

Read the full documentation for more information.

License

Licensed under the MIT license.