CloudCannon/bookshop

Add how to use with Tailwindcss to docs

Opened this issue · 1 comments

With a bit of trial and error I found out that tailwind can be used by adding shared/styles/[your-filename].scss with the following content:

@tailwind base;
@tailwind components;
@tailwind utilities;

Is there something I'm missing why this is not recommended? If not, I think it would be a good idea to add this possibility to the documentation.

bglw commented

This does work — before recommending it though I want to get things working in the component browser, as that won't currently work. (And whether it does work is SSG-dependent)