installer/templates/usage-rules/assets.md
Use Tailwind CSS classes and custom CSS rules to create polished, responsive, and visually stunning interfaces.
Tailwindcss v4 no longer needs a tailwind.config.js and uses a new import syntax in app.css:
@import "tailwindcss" source(none);
@source "../css";
@source "../js";
@source "../../lib/my_app_web";
Always use and maintain this import syntax in the app.css file for projects generated with phx.new
Never use @apply when writing raw css
Always manually write your own tailwind-based components instead of using daisyUI for a unique, world-class design
Out of the box only the app.js and app.css bundles are supported
src or link href in the layouts