ava-storybook
2,480
| Install | |
|---|---|
npm install ava-storybook |
|
| Latest Version: | 2.5.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Mar 25, 2025 |
| Links: | npm |
Maintainer: milesinada
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.
AVA Storybook
Docs
Usage in a Vue 3 project
Install
npm i ava-storybook
Update
npm i ava-storybook@latest
Usage
main.js
import * as storybook from 'ava-storybook'
import 'ava-storybook/dist/style.css'
import 'ava-storybook/dist/output.css'
const app = createApp(App)
// Make components available globally to the project
app.component('Button', storybook.Button)
app.component('IconButton', storybook.IconButton)
app.component('ToggleSwitch', storybook.ToggleSwitch)
app.component('Checkbox', storybook.CheckboxInput)
app.component('Dropdown', storybook.DropdownInput)
app.component('Radio', storybook.RadioInput)
app.component('TextInput', storybook.TextInput)
app.mount('#app')
Component
<template>
<Button label="Hello World" theme="primary-70" />
</template>
Development
npm run storybook
Publish Package
Run Storybook Build and Push Changes to Github
This creates the static site for the storybook
npm run build-storybook
Login to NPM
npm login
Patch - (e.g., 1.0.0 to 1.0.1)
Minor - (e.g., 1.0.0 to 1.1.0)
Major - (e.g., 1.0.0 to 2.0.0)
Set custom version
npm version 1.2.3
Publish
npm run build
<!-- Push to Github -->
npm version <patch | minor | major>
npm publish
Check current version
npm view ava-storybook version
Build Storybook
npm run build-storybook
Push your changes to github and view the docs at:
Related Packages
@storybook/preset-vue-webpack
Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.
1,230,873
91,393
@storybook/vue3-webpack5
Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.
915,143
91,343
@storybook/preset-vue3-webpack
Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.
914,778
91,343
@storybook-vue/vue3-vite
Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloa...
1,801
91,361
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.5.0 | ^3.5.10 | MIT | |
| 2.4.0 | ^3.5.10 | MIT | |
| 2.3.5 | ^3.5.10 | MIT | |
| 2.3.4 | ^3.5.10 | MIT | |
| 2.3.3 | ^3.5.10 | MIT | |
| 2.3.2 | ^3.5.10 | MIT | |
| 2.3.1 | ^3.5.10 | MIT | |
| 2.3.0 | ^3.5.10 | MIT | |
| 2.2.13 | ^3.5.10 | MIT | |
| 2.2.12 | ^3.5.10 | MIT | |
| 2.2.11 | ^3.5.10 | MIT | |
| 2.2.10 | ^3.5.10 | MIT | |
| 2.2.9 | ^3.5.10 | MIT | |
| 2.2.8 | ^3.5.10 | MIT | |
| 2.2.7 | ^3.5.10 | MIT | |
| 2.2.6 | ^3.5.10 | MIT | |
| 2.2.5 | ^3.5.10 | MIT | |
| 2.2.4 | ^3.5.10 | MIT | |
| 2.2.3 | ^3.5.10 | MIT | |
| 2.2.2 | ^3.5.10 | MIT | |
| 2.2.1 | ^3.5.10 | MIT | |
| 2.2.0 | ^3.5.10 | MIT | |
| 2.1.3 | ^3.5.10 | MIT | |
| 2.1.2 | ^3.5.10 | MIT | |
| 2.1.1 | ^3.5.10 | MIT | |
| 2.1.0 | ^3.5.10 | MIT | |
| 2.0.37 | ^3.5.10 | MIT | |
| 2.0.36 | ^3.5.10 | MIT | |
| 2.0.35 | ^3.5.10 | MIT | |
| 2.0.34 | ^3.5.10 | MIT |
Showing the latest 30 of 80. See every release on npm
Pre-releases (8)
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.1-alpha.0 | ^3.5.10 | MIT | |
| 1.6.1-alpha.7 | ^3.5.10 | MIT | |
| 1.6.1-alpha.6 | ^3.5.10 | MIT | |
| 1.6.1-alpha.5 | ^3.5.10 | MIT | |
| 1.6.1-alpha.4 | ^3.5.10 | MIT | |
| 1.6.1-alpha.3 | ^3.5.10 | MIT | |
| 1.6.1-alpha.2 | ^3.5.10 | MIT | |
| 1.6.1-alpha.1 | ^3.5.10 | MIT |