v3.0.0
Nuxt Site Config v3
This major breaking change has been made to remove some of the complexity in the module and adds support for the Nuxt SEO v2 stable.
⚠️ Breaking Features
App Config Support Removed
If you were previously configuring your site config through app.config.ts
, you will now need to define it in your nuxt.config.ts
file.
-export default defineAppConfig({
+export default defineNuxtConfig({
site: {
url: 'example.com',
}
})
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.