⚡ Fast and beautiful interactive component playgrounds, powered by Vite
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] about 2 years ago
You can now create .story.md
files to either:
Docs
tab of a storyHistoire is now officially compatible with Vite 3! ⚡
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
process.env.HISTOIRE = 'true'
in cli bin to help adding conditions in vite.config.js (94339d9)Published by github-actions[bot] about 2 years ago
@histoire/app
(0b788a3)Install the vue3 plugin:
pnpm i -D @histoire/plugin-vue
# OR
npm i -D @histoire/plugin-vue
# OR
yarn add -D @histoire/plugin-vue
Create or update your histoire config file (histoire.config.js
or histoire.config.ts
):
import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue' // New
export default defineConfig({
plugins: [
HstVue(), // New
],
})
Update imports:
import { defineSetupVue3 } from 'histoire'
=> import { defineSetupVue3 } from '@histoire/plugin-vue'
/// <reference types="histoire/vue" />
=> /// <reference types="@histoire/plugin-vue/components" />
Published by github-actions[bot] over 2 years ago
vite
(f52c05c)Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago