Whichever matches your package supervisor.pnpm include -D nuxt-svgo-loader.npm put up -D nuxt-svgo-loader.yarn incorporate -D nuxt-svgo-loader.export default defineNuxtConfig( elements: [' nuxt-svgo-loader'],.svgoLoader: // Possibilities listed here are going to be actually passed to 'vite-svg-loader'. ).[NOTE] Given that nuxt-svgo-loader is a Nuxt module based on vite-svg-loader, the setup for svgoLoader stays similar to that of vite-svg-loader. You can easily pertain to the documents of vite-svg-loader for the offered choices here.Consumption.Element.SVGs may be clearly imported as Vue components making use of the? element suffix:.bring in NuxtSvg from '~/ assets/svg/nuxt. svg'.//.URL.SVGs may be imported as Links utilizing the? url suffix:.bring in nuxtSvgUrl coming from '~/ assets/svg/nuxt. svg?url'.// nuxtSvgUrl === '/ _ nuxt/assets/svg/ nuxt.svg'.Raw.SVGs could be imported as fresh cords making use of the? uncooked suffix:.import nuxtSvgRaw from '~/ assets/svg/nuxt. svg?raw'.// nuxtSvgRaw === '.