Releases
v3.0.0
Last updated by
Harlan Wilton
in chore: lint. ⚠️ 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',
}
})
Deprecated nuxt-site-config-kit and site-config-stack
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'
Removed <SiteLink> component
The <SiteLink> component has been removed, please use your own Custom Link Component.
Removed assertSiteConfig function
The assertSiteConfig function has been removed, please validate site config using your own methods.
Did this page help you?