Fix SVGs with NuxtImage

This commit is contained in:
Julien Nahum 2024-01-08 19:58:07 +01:00
parent 01e9ad00be
commit ce0c7383fd
1 changed files with 6 additions and 2 deletions

View File

@ -49,8 +49,12 @@ export default defineNuxtConfig({
}, },
'~/components', '~/components',
], ],
image: { nitro: {
dangerouslyAllowSVG: true, awsAmplify: {
imageSettings: {
dangerouslyAllowSVG: true
}
}
}, },
sitemap, sitemap,
runtimeConfig runtimeConfig