![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@storybook/vue
Advanced tools
Package description
@storybook/vue is a tool for developing UI components in isolation for Vue.js applications. It allows developers to build, test, and document components independently, which can improve the development workflow and ensure components are well-tested and documented.
Component Development
Allows developers to create and display different states of Vue components in isolation. This helps in visualizing and testing components independently.
import { storiesOf } from '@storybook/vue';
import MyButton from './MyButton.vue';
storiesOf('MyButton', module)
.add('default', () => ({
components: { MyButton },
template: '<my-button>Default</my-button>'
}))
.add('with emoji', () => ({
components: { MyButton },
template: '<my-button>😀 😎 👍 💯</my-button>'
}));
Addons
Supports various addons to enhance the development experience, such as knobs for dynamic prop editing, actions for event handling, and more.
import { withKnobs, text } from '@storybook/addon-knobs';
import MyButton from './MyButton.vue';
export default {
title: 'MyButton',
decorators: [withKnobs],
};
export const withText = () => ({
components: { MyButton },
props: {
buttonText: {
default: text('Button Text', 'Hello Storybook'),
},
},
template: '<my-button :text="buttonText" />',
});
Documentation
Enables the creation of interactive documentation for components, making it easier for other developers to understand and use them.
import { Meta, Story } from '@storybook/vue';
import MyButton from './MyButton.vue';
export default {
title: 'MyButton',
component: MyButton,
} as Meta;
const Template: Story = (args, { argTypes }) => ({
props: Object.keys(argTypes),
components: { MyButton },
template: '<my-button v-bind="$props" />',
});
export const Primary = Template.bind({});
Primary.args = {
primary: true,
label: 'Button',
};
Vue Styleguidist is a tool for creating style guides for Vue components. It focuses on documenting components and their usage, similar to Storybook, but with a stronger emphasis on style guide generation.
Docz is a documentation tool that supports multiple frameworks, including Vue. It allows developers to create interactive documentation for their components, similar to Storybook, but with a broader focus on documentation rather than just component development.
Vue Play is a minimalistic library for developing Vue components in isolation. It provides a simpler and more lightweight alternative to Storybook, focusing on the core functionality of component isolation and testing.
Changelog
Readme
FAQs
Storybook Vue renderer
The npm package @storybook/vue receives a total of 111,344 weekly downloads. As such, @storybook/vue popularity was classified as popular.
We found that @storybook/vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.