petalframework / petal_boilerplate

Phoenix + Tailwind + Petal Components Boilerplate
https://petal.build
152 stars 21 forks source link

Tailwind imports #6

Closed samaaron closed 2 years ago

samaaron commented 2 years ago

Hi there,

I'm not experienced enough yet with all this stuff to be sure that a PR is a good idea here, but locally in my app.css I had to modify the following:

@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

to

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

I'm not sure why that was necessary - perhaps I'm using a different version of tailwind? To be clear, I wasn't using this boiler project directly, rather using it as a "cheat sheet" to figure out what to add where.

Anyway, just thought I'd mention it and also say thanks for all the work on this!

nhobes commented 2 years ago

Thanks for pointing this out, just updated in my latest changes.