Gathering detailed insights and metrics for @sasanfa/vite-plugin-vue
Gathering detailed insights and metrics for @sasanfa/vite-plugin-vue
Gathering detailed insights and metrics for @sasanfa/vite-plugin-vue
Gathering detailed insights and metrics for @sasanfa/vite-plugin-vue
Next generation frontend tooling. It's fast!
npm install @sasanfa/vite-plugin-vue
Typescript
Module System
Min. Node Version
TypeScript (83.22%)
JavaScript (9.82%)
HTML (5.18%)
CSS (1.23%)
Vue (0.14%)
AppleScript (0.11%)
SCSS (0.1%)
Svelte (0.1%)
Less (0.05%)
Stylus (0.02%)
Shell (0.01%)
Pug (0.01%)
Sass (0.01%)
SugarSS (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
74,107 Stars
7,932 Commits
6,944 Forks
459 Watchers
42 Branches
1,128 Contributors
Updated on Jul 13, 2025
Latest Version
1.0.6
Package Id
@sasanfa/vite-plugin-vue@1.0.6
Unpacked Size
169.13 kB
Size
38.03 kB
File Count
8
Cumulative downloads
Total Downloads
1
Note: requires @vue/compiler-sfc
as peer dependency. This is largely a port of rollup-plugin-vue
with some vite-specific tweaks.
1// vite.config.js 2import vue from '@vitejs/plugin-vue' 3 4export default { 5 plugins: [vue()] 6}
1export interface Options { 2 include?: string | RegExp | (string | RegExp)[] 3 exclude?: string | RegExp | (string | RegExp)[] 4 5 ssr?: boolean 6 isProduction?: boolean 7 8 // options to pass on to @vue/compiler-sfc 9 script?: Partial<SFCScriptCompileOptions> 10 template?: Partial<SFCTemplateCompileOptions> 11 style?: Partial<SFCStyleCompileOptions> 12}
@vue/compiler-dom
:1import vue from '@vitejs/plugin-vue' 2 3export default { 4 plugins: [ 5 vue({ 6 template: { 7 compilerOptions: { 8 // ... 9 } 10 } 11 }) 12 ] 13}
1import vue from '@vitejs/plugin-vue' 2 3const vueI18nPlugin = { 4 name: 'vue-i18n', 5 transform(code, id) { 6 if (!/vue&type=i18n/.test(id)) { 7 return 8 } 9 if (/\.ya?ml$/.test(id)) { 10 code = JSON.stringify(require('js-yaml').safeLoad(code.trim())) 11 } 12 return `export default Comp => { 13 Comp.i18n = ${code} 14 }` 15 } 16} 17 18export default { 19 plugins: [vue(), vueI18nPlugin] 20}
MIT
No vulnerabilities found.
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
binaries present in source code
Details
Reason
Found 17/28 approved changesets -- score normalized to 6
Reason
dependency not pinned by hash detected -- score normalized to 6
Details
Reason
SAST tool is not run on all commits -- score normalized to 3
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-30
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 MoreLast 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