Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vue-cli-plugin-vuetify-storybook
Advanced tools
A Vue CLI 3 Plugin for bootstrapping Storybook with Vuetify
Readme
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 269 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.