v3.0.0
Release notes for v3.0.0.
⚠️ Breaking Changes
App Config Support Removed
If you were configuring your site config using the app.config.ts file, you will need to move your configuration to the nuxt.config.ts
file
or set up runtime site config.
nuxt.config
export default defineNuxtConfig({
site: {
url: 'https://example.com',
name: 'My Website',
}
})
nuxt-site-config-kit
and site-config-stack
Deprecated
The nuxt-site-config-kit
and site-config-stack
packages should no longer be used or depended on directly. Instead, the subpath exports should be used.
-import {} from 'nuxt-site-config-kit'
+import {} from 'nuxt-site-config/kit'
-import {} from 'site-config-stack'
+import {} from 'nuxt-site-config/utils'
<SiteLink>
component Removed
The <SiteLink>
component has been removed, please use your own Custom Link Component.
assertSiteConfig
function Removed
The assertSiteConfig
function has been removed, please validate site config using your own methods.
Did this page help you?