npxnuxi@latestmoduleaddnuxt-svgo-loader exportdefaultdefineNuxtConfig({modules:['nuxt-svgo-loader'],svgoLoader:{// Options here will be passed to `vite-svg-loader`}}) !NOTESincenuxt-svgo-loaderis a Nuxt module based onvite-svg-loader, the configuration forsvgoLoaderremains identical to th...
[!NOTE] Since nuxt-svgo-loader is a Nuxt module based on vite-svg-loader, the configuration for svgoLoader remains identical to that of vite-svg-loader. You can refer to the documentation of vite-svg-loader for the available options here....
exportdefaultdefineNuxtConfig({modules:['nuxt-svgo-loader'],svgoLoader:{// Options here will be passed to `vite-svg-loader`}}) Note Sincenuxt-svgo-loaderis a Nuxt module based onvite-svg-loader, the configuration forsvgoLoaderremains identical to that ofvite-svg-loader. You can refer to...
importLogofrom"~/assets/logo.svg?raw"exportdefaultdefineEventHandler(async(event)=>{//do something with the logo here} the error im getting: ERROR Error: Could not load /.../assets/logo.svg?raw (imported by model/pdf.ts): ENOENT: no such file or directory, open '/.../assets/logo.s...
export default defineNuxtConfig({ modules: ['nuxt-svgo-loader'], svgoLoader: { // Options here will be passed to `vite-svg-loader` } }) Note Since nuxt-svgo-loader is a Nuxt module based on vite-svg-loader, the configuration for svgoLoader remains identical to that of vite-svg-loa...