Gathering detailed insights and metrics for @4tw/vue-cli-plugin-svg-icon
Gathering detailed insights and metrics for @4tw/vue-cli-plugin-svg-icon
Gathering detailed insights and metrics for @4tw/vue-cli-plugin-svg-icon
Gathering detailed insights and metrics for @4tw/vue-cli-plugin-svg-icon
Adds webpack rules to generate optimized svg sprites.
npm install @4tw/vue-cli-plugin-svg-icon
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
GPL-2.0 License
5 Commits
6 Watchers
4 Branches
17 Contributors
Updated on Aug 05, 2019
Latest Version
0.0.2
Package Id
@4tw/vue-cli-plugin-svg-icon@0.0.2
Unpacked Size
72.17 kB
Size
28.44 kB
File Count
6
NPM Version
6.4.1
Node Version
8.16.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
Adds webpack rules to generate optimized svg sprites.
1yarn add --dev @4tw/vue-cli-plugin-svg-icon
Provide a svgDir
option under pluginOptions
in your vue.config.js
config.
1module.exports = { 2 pluginOptions: { 3 svgDir: path.resolve(__dirname, 'src/assets/svg'), 4 }, 5}
All svg files under the svgDir
are processes and provided as an import.
The imports are aliased under svg
.
1import Icon from 'svg/your_icon.svg'
The imported module provides a symbol from the svg-sprite-loader
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More