We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
strictSeo
1 parent fd3414a commit 2015e8bCopy full SHA for 2015e8b
1 file changed
src/runtime/routing/head.ts
@@ -18,6 +18,9 @@ function createHeadContext(
18
const canonicalQueries = (typeof config.seo === 'object' && config.seo?.canonicalQueries) || []
19
20
if (!baseUrl) {
21
+ if (__I18N_STRICT_SEO__) {
22
+ throw new Error('I18n `baseUrl` is required to generate valid SEO tag links.')
23
+ }
24
console.warn('I18n `baseUrl` is required to generate valid SEO tag links.')
25
}
26
0 commit comments