feat: Configure nuxt-svgo module
This commit is contained in:
@@ -20,6 +20,7 @@ export default defineNuxtConfig({
|
||||
"@nuxtjs/device",
|
||||
"@nuxtjs/seo",
|
||||
"nuxt-auth-utils",
|
||||
"nuxt-svgo",
|
||||
],
|
||||
|
||||
components: {
|
||||
@@ -108,4 +109,10 @@ export default defineNuxtConfig({
|
||||
|
||||
sitemap: false,
|
||||
|
||||
svgo: {
|
||||
autoImportPath: "~/assets/svg/",
|
||||
componentPrefix: "Svg",
|
||||
defaultImport: "component",
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user