Skip to content

A reproduction of an issue using storybook and tailwind within an Nx workspace

Notifications You must be signed in to change notification settings

brenden-ef/tailwind-storybook-repro

Repository files navigation

TailwindStorybookRepro

This workspace has been generated by Nx, a Smart, fast and extensible build system.

To Reproduce

After running npm ci to install dependencies:

  1. start storybook nx storybook repro and open it in a browser
  2. in packages/repro/src/lib/repro.tsx add p-8 class to the root div and change the h1 classes to text-red-500 text-8xl font-bold. Save the file after making these changes
  3. note that none of the styles are applied after webpack finishes building the preview
  4. refresh the page manually
  5. note that now the styles are applied

Reproduced in Firefox Developer Edition, Chrome, and Sizzy

About

A reproduction of an issue using storybook and tailwind within an Nx workspace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published