
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
nuxt-svg-loader
Advanced tools
[](https://npmjs.com/package/nuxt-svg-loader) [](https://npmjs.com/package/nuxt-s
A live demo is available through the CodeSandBox of the repo
nuxt-svg-loader
as a dependency using yarn or npm to your projectnuxt-svg-loader
to modules
section of nuxt.config.js
{
modules: [
'nuxt-svg-loader',
],
}
<template>
<nav>
<a href="https://github.com/vuejs/vue">
<VueLogo />
Vue
</a>
<a href="https://github.com/svg/svgo">
<SVGOLogo />
SVGO
</a>
<a href="https://github.com/webpack/webpack">
<WebpackLogo />
webpack
</a>
</nav>
</template>
<script>
import VueLogo from '@/assets/svg/vue.svg';
import SVGOLogo from '@/assets/svg/svgo.svg';
import WebpackLogo from '@/assets/svg/webpack.svg';
export default {
name: 'Example',
components: {
VueLogo,
SVGOLogo,
WebpackLogo,
},
};
</script>
The plugin will work seamlessly out of the box. If you are in need of configuring the loader options (eg for id prefixing), you can do that:
// file: nuxt.config.js
export default {
// ...
// Your loader options as svgLoader object
svgLoader: {
svgo: {
plugins: [
{ prefixIds: true },
]
}
}
}
yarn install
or npm install
npm run dev
Copyright (c) Alexander Lichter
FAQs
[](https://npmjs.com/package/nuxt-svg-loader) [](https://npmjs.com/package/nuxt-s
The npm package nuxt-svg-loader receives a total of 3,792 weekly downloads. As such, nuxt-svg-loader popularity was classified as popular.
We found that nuxt-svg-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.