JIT styles do not work with Storybook

Open
#15 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
storybook, tailwindcss
Domain
frontend, tooling

Research direction

Start by reproducing the issue in Storybook with Tailwind JIT, including a class used only in a story, and compare it with adding or removing an existing class through DevTools for Tailwind. Investigate whether Storybook's frames prevent the JIT update from reaching the rendered story; done means newly added JIT-only classes work in Storybook.

Written by the indexing model from the issue text.

Description

I've noticed that DevTools for Tailwind will allow me to add and remove existing classes in Storybook, but JIT (including classes I am not using elsewhere) does not seem to work. Storybook uses frames--could this be a problem?

Dominant language
No language data
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from beyondcode/devtoolsfortailwind-community

All issues in beyondcode/devtoolsfortailwind-community

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.