DEV Community

Discussion on: The minimum of Tailwind you need to know to work with Elixir/Phoenix

Collapse
 
belgoros profile image
Serguei Cambour • Edited

Thank you for sharing, but it it fails to load app.css:
GET localhost:4000/assets/app.css -> 404
It's not enough clear about the modifications in assets/app.css file, - I had the following content after running the tailwind install (note @import directives):

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

Even after changing to yours:
@tailwind base;
@tailwind components;
@tailwind utilities;
import "../css/app.css" (REMOVER)

and restarting, it didn't fix the error either. Any tips on that? I'm usng the latest 0.1.6 version of tailwind pachex package.

Collapse
 
postelxpro profile image
Elxpro

hi, Thank you for your comment. I recorded a video for this post you can take a look may be it would help you :D

youtube.com/watch?v=6ZxtdayOe40

Collapse
 
belgoros profile image
Serguei Cambour

Great, it works, thank you!