Whichever matches your package deal manager.pnpm add -D nuxt-svgo-loader.npm put in -D nuxt-svgo-loader.anecdote include -D nuxt-svgo-loader.export nonpayment defineNuxtConfig( modules: [' nuxt-svgo-loader'],.svgoLoader: // Options listed below will be actually passed to 'vite-svg-loader'. ).[NOTE] Because nuxt-svgo-loader is actually a Nuxt component based on vite-svg-loader, the arrangement for svgoLoader stays exact same to that of vite-svg-loader. You can easily describe the documents of vite-svg-loader for the readily available choices right here.Usage.Element.SVGs could be explicitly imported as Vue components using the? part suffix:.bring in NuxtSvg from '~/ assets/svg/nuxt. svg'.//.URL.SVGs may be imported as URLs utilizing the? url suffix:.bring in nuxtSvgUrl from '~/ assets/svg/nuxt. svg?url'.// nuxtSvgUrl === '/ _ nuxt/assets/svg/ nuxt.svg'.Raw.SVGs may be imported as raw strings using the? fresh suffix:.import nuxtSvgRaw coming from '~/ assets/svg/nuxt. svg?raw'.// nuxtSvgRaw === '.