Install Nuxt SEO Experiments
Get started with Nuxt SEO Experiments by installing the dependency to your project.
- Install
nuxt-seo-experiments
dependency to your project:
pnpm i -D nuxt-seo-experiments
- Add it to your
modules
section in yournuxt.config
:
export default defineNuxtConfig({
modules: ['nuxt-seo-experiments']
})
- Set a Site URL
To ensure links are set up correctly, the module needs to know your site URL.
The easiest way to set a site URL is to provide it in your nuxt.config
:
export default defineNuxtConfig({
site: {
// production URL
url: 'https://example.com',
},
})
Otherwise, you can use an .env
file or environment variables.
NUXT_PUBLIC_SITE_URL=https://example.com
For more complex applications, learn more at the Nuxt Site Config docs.
That's it!
All features are enabled by default. Learn more by exploring the documentation.
Nuxt SEO Experimental Features
The features provided by the nuxt-seo-experiments module.
App Icons
Learn how metadata files work with logos.
Community
Ecosystem