Installations
npm install @4tw/vue-cli-plugin-svg-icon
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
8.16.0
NPM Version
6.4.1
Score
36.7
Supply Chain
39.6
Quality
73.2
Maintenance
25
Vulnerability
77.1
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
4teamwork
Download Statistics
Total Downloads
28,937
Last Day
5
Last Week
21
Last Month
85
Last Year
1,514
GitHub Statistics
GPL-2.0 License
5 Commits
7 Watchers
4 Branches
18 Contributors
Updated on Aug 05, 2019
Package Meta Information
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
Total Downloads
Cumulative downloads
Total Downloads
28,937
Last Day
0%
5
Compared to previous day
Last Week
61.5%
21
Compared to previous week
Last Month
23.2%
85
Compared to previous month
Last Year
-43.9%
1,514
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
vue-cli-plugin-svg-icon
Adds webpack rules to generate optimized svg sprites.
Setup
1yarn add --dev @4tw/vue-cli-plugin-svg-icon
Usage
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}
Usage
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
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: GNU General Public License v2.0: LICENSE:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Reason
21 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-fhjf-83wg-r2j9
- Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr
- Warn: Project is vulnerable to: GHSA-566m-qj78-rww5
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3
- Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp
- Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr
Score
1.7
/10
Last Scanned on 2025-02-17
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