Sleep

Nuxt Svgo Loader - Vue.js Feed #.\n\nNuxt element to pack SVG reports as Vue elements, using SVGO for marketing.\nAttributes.\nLots SVG submits as Vue parts.\nOptimize SVGs making use of SVGO.\nSmooth combination along with Nuxt DevTools.\nInstallment.\nPut up as well as incorporate nuxt-svgo-loader to your nuxt.config.\n

Whichever matches your deal manager.pnpm incorporate -D nuxt-svgo-loader.npm set up -D nuxt-svgo-loader.anecdote incorporate -D nuxt-svgo-loader.export default defineNuxtConfig( components: [' nuxt-svgo-loader'],.svgoLoader: // Choices here will definitely be actually exchanged 'vite-svg-loader'. ).[KEEP IN MIND] Considering that nuxt-svgo-loader is a Nuxt component based on vite-svg-loader, the configuration for svgoLoader remains similar to that of vite-svg-loader. You may pertain to the information of vite-svg-loader for the accessible options listed here.Consumption.Part.SVGs could be explicitly imported as Vue parts making use of the? part suffix:.bring in NuxtSvg from '~/ assets/svg/nuxt. svg'.//.LINK.SVGs can be imported as URLs utilizing the? link suffix:.import nuxtSvgUrl coming from '~/ assets/svg/nuxt. svg?url'.// nuxtSvgUrl === '/ _ nuxt/assets/svg/ nuxt.svg'.Raw.SVGs can be imported as fresh strings using the? raw suffix:.import nuxtSvgRaw coming from '~/ assets/svg/nuxt. svg?raw'.// nuxtSvgRaw === '.