Gathering detailed insights and metrics for vue-responsive-dash
Gathering detailed insights and metrics for vue-responsive-dash
Gathering detailed insights and metrics for vue-responsive-dash
Gathering detailed insights and metrics for vue-responsive-dash
npm install vue-responsive-dash
60.8
Supply Chain
98
Quality
75.7
Maintenance
50
Vulnerability
99.6
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
260 Stars
354 Commits
43 Forks
6 Watching
223 Branches
1 Contributors
Updated on 14 Oct 2024
Minified
Minified + Gzipped
Vue (47.72%)
JavaScript (26.95%)
TypeScript (22.92%)
HTML (2.41%)
Cumulative downloads
Total Downloads
Last day
-55.5%
89
Compared to previous day
Last week
-8.9%
632
Compared to previous week
Last month
0.2%
2,865
Compared to previous month
Last year
-21.3%
41,150
Compared to previous year
5
1
23
A Responsive, Draggable & Resizable Dashboard (grid) made with vue and typescript. Inspired by React-Grid-Layout & Vue-Grid-Layout
1$ npm install vue-responsive-dash
1<template> 2 <div id="app"> 3 <dashboard :id="'dashExample'"> 4 <dash-layout v-for="layout in dlayouts" v-bind="layout" :debug="true" :key="layout.breakpoint"> 5 <dash-item v-for="item in layout.items" v-bind.sync="item" :key="item.id"> 6 <div class="content"></div> 7 </dash-item> 8 </dash-layout> 9 </dashboard> 10 </div> 11</template> 12 13<script> 14import { Dashboard, DashLayout, DashItem } from "vue-responsive-dash"; 15 16export default { 17 name: "App", 18 components: { 19 Dashboard, 20 DashLayout, 21 DashItem 22 }, 23 data() { 24 return { 25 dlayouts: [ 26 { 27 breakpoint: "xl", 28 numberOfCols: 12, 29 items: [ 30 { id: "1", x: 0, y: 0, width: 1, height: 1 }, 31 { id: "2", x: 1, y: 0, width: 2, height: 1 }, 32 ] 33 }, 34 { 35 breakpoint: "lg", 36 breakpointWidth: 1200, 37 numberOfCols: 10, 38 items: [ 39 { id: "1", x: 0, y: 0, width: 1, height: 1 }, 40 { id: "2", x: 1, y: 0, width: 2, height: 1 }, 41 ] 42 }, 43 { 44 breakpoint: "md", 45 breakpointWidth: 996, 46 numberOfCols: 8, 47 items: [ 48 { id: "1", x: 0, y: 0, width: 1, height: 1 }, 49 { id: "2", x: 1, y: 0, width: 2, height: 1 }, 50 ] 51 }, 52 { 53 breakpoint: "sm", 54 breakpointWidth: 768, 55 numberOfCols: 4, 56 items: [ 57 { id: "1", x: 0, y: 0, width: 1, height: 1 }, 58 { id: "2", x: 1, y: 0, width: 2, height: 1 }, 59 ] 60 }, 61 { 62 breakpoint: "xs", 63 breakpointWidth: 480, 64 numberOfCols: 2, 65 items: [ 66 { id: "1", x: 0, y: 0, width: 1, height: 1 }, 67 { id: "2", x: 1, y: 0, width: 1, height: 1 }, 68 ] 69 }, 70 { 71 breakpoint: "xxs", 72 breakpointWidth: 0, 73 numberOfCols: 1, 74 items: [ 75 { 76 id: "1", 77 x: 0, 78 y: 0, 79 width: 1, 80 height: 1 81 }, 82 { id: "2", x: 0, y: 1, width: 1, height: 1 } 83 ] 84 } 85 ] 86 }; 87 } 88}; 89</script> 90 91<style> 92.content { 93 height: 100%; 94 width: 100%; 95 border: 2px solid #42b983; 96 border-radius: 5px; 97} 98</style> 99 100
See example above. The Grid Item object can be passed to the child component via props or injection. Typically the child component will look at the grid Item ID (which is unique) and decide what to render via a data/computed variable/s or VUEX.
See Example/Docs Website for more information.
Please give a ⭐️ if this project helped you!
If you have any questions or requests or want to contribute to vue-responsive-dash
or other packages, please write the issue or give me a Pull Request freely.
If you find a bug, please report to us opening a new Issue on GitHub.
npm run serve
Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
134 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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