nuxt-site-config
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 nuxi@latest module add site-config
Generate an Agent Skill for this package using skilld:
npx skilld add nuxt-site-config
Documentation
Read the full documentation for more information.
License
Licensed under the MIT license.