Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@storybook/vue3-webpack5
Advanced tools
Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.
Storybook for Vue 3 is a UI development environment for your Vue 3 components. With it, you can visualize different states of your UI components and develop them interactively.
Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements.
cd my-vue3-app
npx storybook@latest init
For more information visit: storybook.js.org
Storybook also comes with a lot of addons and a great API to customize as you wish. You can also build a static version of your Storybook and deploy it anywhere you want.
Storybook creates a Vue 3 application for your component preview.
When using global custom components (app.component
), directives (app.directive
), extensions (app.use
), or other application methods, you will need to configure those in the ./storybook/preview.js
file.
Therefore, Storybook provides you with a setup
function exported from this package, which receives as a callback your Storybook instance, which you can interact with and add your custom configuration.
// .storybook/preview.js
import { setup } from '@storybook/vue3';
setup((app) => {
app.use(MyPlugin);
app.component('my-component', MyComponent);
app.mixin({
/* My mixin */
});
});
FAQs
Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.
The npm package @storybook/vue3-webpack5 receives a total of 17,961 weekly downloads. As such, @storybook/vue3-webpack5 popularity was classified as popular.
We found that @storybook/vue3-webpack5 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.