Nuxt Config
The config options available for Nuxt Site Config.
enabled
- Type:
boolean - Default:
true
Whether the site config is enabled.
debug
- Type:
boolean - Default:
false
Whether the debug mode of the site config is enabled.
url
- Type:
string
The canonical site URL.
env
- Type:
string - Default:
process.env.NODE_ENV
The environment the site is running in.
See this issue on why we can't use
name
- Type:
string
The name of the site.
indexable
- Type:
boolean - Default:
siteConfig.env === 'production' || process.env.NODE_ENV === 'production'
Can the site be indexed by search engines.
trailingSlash
- Type:
boolean - Default:
false
Whether to add trailing slashes to the URLs.
defaultLocale
- Type:
string
The default locale of the site.
Did this page help you?