Gathering detailed insights and metrics for vite-plugin-vue2
Gathering detailed insights and metrics for vite-plugin-vue2
Gathering detailed insights and metrics for vite-plugin-vue2
Gathering detailed insights and metrics for vite-plugin-vue2
npm install vite-plugin-vue2
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
621 Stars
223 Commits
84 Forks
15 Watching
1 Branches
38 Contributors
Updated on 29 Oct 2024
TypeScript (90.72%)
Vue (8.06%)
HTML (0.66%)
JavaScript (0.42%)
CSS (0.13%)
Cumulative downloads
Total Downloads
Last day
-5.6%
4,410
Compared to previous day
Last week
9.6%
29,772
Compared to previous week
Last month
-4%
129,946
Compared to previous month
Last year
-25.3%
1,869,088
Compared to previous year
29
2
⚠️ With the release of Vue 2.7, Vite now provides the official Vue 2 plugin
@vitejs/plugin-vue2
. Thereby this plugin will only support Vue 2.6 or earlier. This project is reached End of Life by the end of 2022.
1npm install vite-plugin-vue2 -D
1// vite.config.js 2import { createVuePlugin } from 'vite-plugin-vue2' 3 4export default { 5 plugins: [ 6 createVuePlugin(/* options */) 7 ], 8}
vueTemplateOptions
Type: Object
Default: { compilerOptions :{ whitespace: 'condense' } }
Note { whitespace: 'condense' } behavior
A whitespace-only text node between element tags is removed if it contains new lines. Otherwise, it is condensed into a single space.
Consecutive whitespaces inside a non-whitespace-only text node are condensed into a single space.
Using condense mode will result in smaller compiled code size and slightly improved performance. However, it will produce minor visual layout differences compared to plain HTML in certain cases,if you want to keep whitespace behavior, please set { whitespace: 'preserve' }
The options for @vue/component-compiler-utils
.
jsx
Type: Boolean
Default: false
The options for jsx transform.
jsxOptions
Type: Object
The options for @vue/babel-preset-jsx
.
target
Type: String
The options for esbuild to transform script code
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
Found 9/26 approved changesets -- score normalized to 3
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
license file not detected
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
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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