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