feat : ajout d'histoire et d'une story

This commit is contained in:
2026-02-25 10:26:39 +01:00
parent 82ecc9cfe2
commit a8e5f2e05a
9 changed files with 1735 additions and 128 deletions

24
histoire.config.ts Normal file
View File

@@ -0,0 +1,24 @@
import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'
import vue from '@vitejs/plugin-vue'
import tailwindcss from 'tailwindcss'
import autoprefixer from 'autoprefixer'
import path from 'path'
export default defineConfig({
setupFile: './histoire.setup.ts',
vite: {
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, './'),
},
},
css: {
postcss: {
plugins: [tailwindcss(), autoprefixer()],
},
},
},
plugins: [HstVue()],
})