Whichever matches your plan supervisor.pnpm add -D nuxt-svgo-loader.npm put up -D nuxt-svgo-loader.yarn add -D nuxt-svgo-loader.export nonpayment defineNuxtConfig( modules: [' nuxt-svgo-loader'],.svgoLoader: // Possibilities listed below will definitely be exchanged 'vite-svg-loader'. ).[KEEP IN MIND] Since nuxt-svgo-loader is actually a Nuxt element based on vite-svg-loader, the configuration for svgoLoader continues to be identical to that of vite-svg-loader. You may refer to the paperwork of vite-svg-loader for the on call alternatives listed here.Consumption.Element.SVGs can be clearly imported as Vue elements using the? element suffix:.bring in NuxtSvg coming from '~/ assets/svg/nuxt. svg'.//.URL.SVGs can be imported as URLs making use of the? url suffix:.bring in nuxtSvgUrl from '~/ assets/svg/nuxt. svg?url'.// nuxtSvgUrl === '/ _ nuxt/assets/svg/ nuxt.svg'.Raw.SVGs may be imported as fresh strings utilizing the? fresh suffix:.bring in nuxtSvgRaw coming from '~/ assets/svg/nuxt. svg?raw'.// nuxtSvgRaw === '.