You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Histoire will automatically detect your Tailwind CSS configuration and generate design system stories for you. But not if you make your tailwind.config.js with module.exports a tailwind.config.ts with export default.
Suggested solution
Support both tailwind.config.js with module.exports and tailwind.config.ts with export default.
I have the same problem, I'm trying to add histoire to an existing svelte project that uses tailwind with some theming and plugins and and these are not bing picked up. Instead histoire displays some other tailwind configuration in the ui.
Here's my setup:
histoire.config.js
import { defineConfig } from 'histoire';
import { HstSvelte } from '@histoire/plugin-svelte';
export default defineConfig({
plugins: [HstSvelte()],
setupFile: './histoire-setup.ts',
});
Clear and concise description of the problem
Histoire will automatically detect your Tailwind CSS configuration and generate design system stories for you. But not if you make your
tailwind.config.js
with module.exports atailwind.config.ts
with export default.Suggested solution
Support both
tailwind.config.js
with module.exports andtailwind.config.ts
with export default.Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: