
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
worksafe-component-library
Advanced tools
A Vue.js component library for use in WorkSafe family websites
This repository contains Vue components and settings used by WorkSafe websites, documented by Storybook. It is designed to be consumed by a Vue app.
git clone worksafe-component-library
cd worksafe-component-library
npm install
# Make the library available as a global node module.
npm link
# Start Storybook documentation site
npm start
# Then switch over to your Vue app
cd ../worksafe-client
# "Install" the now-global library as a dependency
npm link worksafe-component-library
Now the components are available for import into your Vue app, e.g.
worksafe-client/src/components/Sidebar/index.vue
import CoolButton from 'worksafe-component-library'
Make a component, register it for export TODO
Cool tool to document Vue components TODO
Deploy to Github Pages by running the following command:
yarn deploy
This will build the storybook, and then deploy it to Github by pushing the contents of /dist to origin's gh-pages branch.
Yavisht Katgara yavisht_katgara@worksafe.vic.gov.au
FAQs
A Vue.js component library for use in WorkSafe family websites
We found that worksafe-component-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.