//nuxt-site-configbyharlan-zw

nuxt-site-config

Unifying site config with powerful and flexible APIs, for module authors and users.

75
14
75
7
TypeScript

nuxt-site-config

npm version
npm downloads
License
Nuxt

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

It is not meant to be consumed by end-users directly, but rather to be used by module authors to provide a common site config API.

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

Documentation

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

License

Licensed under the MIT license.

[beta]v0.13.0