@poveste/plugin-vue
Poveste + Vue 3
Requires vue@^3.5.43.
pnpm add -D poveste @poveste/plugin-vue
Register the plugin in your Poveste config:
import { HstVue } from '@poveste/plugin-vue'
import { defineConfig } from 'poveste'
export default defineConfig({
plugins: [
HstVue(),
],
})
Write stories as *.story.vue:
<script setup>
import MyButton from './MyButton.vue'
</script>
<template>
<Story title="MyButton">
<Variant title="default">
<MyButton />
</Variant>
</Story>
</template>
<Story> and <Variant> are registered globally — no import needed.
Coming from histoire? The Vue API is unchanged: swap the dependency and your existing
.story.vue files keep working.
Related Packages
poveste
Interactive component playgrounds for Vue, Nuxt, Svelte, SvelteKit and Quasar, p...
10,343
3
planetar
A Vue framework for creating a design system styleguide with interactive compone...
1,852
5
Version History
| Version | Released | License |
|---|---|---|
| 0.20.0 | MIT | |
| 0.19.1 | MIT | |
| 0.19.0 | MIT | |
| 0.18.3 | MIT | |
| 0.18.2 | MIT | |
| 0.18.1 | MIT | |
| 0.18.0 | MIT | |
| 0.17.2 | MIT | |
| 0.17.1 | MIT | |
| 0.17.0 | MIT | |
| 0.16.2 | MIT | |
| 0.16.1 | MIT | |
| 0.16.0 | MIT | |
| 0.15.0 | MIT | |
| 0.14.0 | MIT | |
| 0.13.1 | MIT | |
| 0.13.0 | MIT | |
| 0.12.3 | MIT | |
| 0.12.2 | MIT | |
| 0.12.1 | MIT | |
| 0.12.0 | MIT | |
| 0.11.0 | MIT | |
| 0.10.0 | MIT | |
| 0.9.0 | MIT | |
| 0.8.2 | MIT | |
| 0.8.1 | MIT | |
| 0.8.0 | MIT | |
| 0.7.0 | MIT | |
| 0.6.1 | MIT | |
| 0.6.0 | MIT |
Showing the latest 30 of 45. See every release on npm