Socket
Socket
Sign inDemoInstall

@storybook/vue3-webpack5

Package Overview
Dependencies
8
Maintainers
29
Versions
677
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/vue3-webpack5


Version published
Weekly downloads
26K
increased by20.87%
Maintainers
29
Created
Weekly downloads
 

Changelog

Source

7.0.0-alpha.24 (August 24, 2022)

Breaking changes
  • Preview: Rename Storybook DOM root IDs #10638
Features
  • Interactions: Add step function and support multiple levels of nesting #18555
Bug Fixes
  • Addon-docs: Fix canvas support expand code for non-story #18808
  • Components: Avoid including line numbers when copying the code #18725
  • Vue: Fix enum check in extractArgTypes #18959
  • Core: Fix frameworkOptions preset #18979
Maintenance
  • Addon-a11y: Remove achromatomaly color filter #18852
  • Build: Use ts-up to build core-webpack #18912
  • Build: Use ts-up to build addon-viewport #18943
  • Build: Improve generate-repros-next #19001
  • Examples: Remove refs in angular example #18986
  • Build: Use ts-up to build client-logger #18893
  • Generate-repros: Run local registry on --local-registry option #18997
  • Build: Remove unused bootstrap --cleanup #18981
  • CLI: Fix local repro publishing #18977
  • Build: Run verdaccio on 6001 to enable web UI #18983
  • CLI: determine whether to add interactive stories from renderer rather than framework #18968
  • CLI: Auto-accept migrations when running generate-repros-next #18969

Readme

Source

Storybook for Vue 3

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 Screenshot

Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements.

Getting Started

cd my-vue3-app
npx storybook 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.

Extending the Vue application

Storybook creates a Vue 3 application for your component preview which can be imported as import { app } from '@storybook/vue3'.

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.

For example:

// .storybook/preview.js

import { app } from '@storybook/vue3';

app.use(MyPlugin);
app.component('my-component', MyComponent);
app.mixin({
  /* My mixin */
});

Keywords

FAQs

Last updated on 24 Aug 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc