
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
vue-cli-plugin-vuetify-storybook
Advanced tools
A Vue CLI 3 Plugin for bootstrapping Storybook with Vuetify
A Vuetify Storybook Plugin for vue-cli@3.0
vue add vuetify-storybook
Once installed, you can run:
yarn serve:storybook
# OR
npm run serve:storybook
To add new stories, simply create a new file that contains .stories.js
. An example exists in .storybook/stories/example.stories.js
of your project.
If you are using vue-cli-plugin-vuetify-cli, stories will be automatically generated when you create new components.
// A helper function to faciliate the generation of stories
import { storyFactory } from '../util/helpers'
// Components
import { AnotherComponent } from 'path/to/component'
// Generate a factory function
// Will automatically bootstrap the story components
const story = storyFactory({
// Can pass in an import function
MyComponent: () => import('path/to/component'),
// Or explicitly import and use
AnotherComponent,
})
export const asDefault = () => story({
template: `<my-component></my-component>`,
})
export const withAnotherComponent = () => story({
template: `
<my-component>
<another-component></another-component>
</my-component>
`,
})
Vuetify is an open source MIT project that has been made possible due to the generous contributions by community backers. If you are interested in supporting this project, please consider:
Copyright (c) 2016-present Vuetify LLC
FAQs
A Vue CLI 3 Plugin for bootstrapping Storybook with Vuetify
The npm package vue-cli-plugin-vuetify-storybook receives a total of 44 weekly downloads. As such, vue-cli-plugin-vuetify-storybook popularity was classified as not popular.
We found that vue-cli-plugin-vuetify-storybook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.