@histoire/app
Advanced tools
Changelog
0.9.2 (2022-08-10)
Changelog
0.9.1 (2022-08-02)
process.env.HISTOIRE = 'true'
in cli bin to help adding conditions in vite.config.js (94339d9)Changelog
0.9.0 (2022-07-30)
@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" />