You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! I've installed TailwindCSS a few times using the CLI method (I'm a noob at this, just practicing). And I always have issues loading the styles after I complete the steps. I realized that when making the link to the output.css file - all I need to do is add a "." before the "/" in the "href".
so from this:
<link href="/dist/output.css" rel="stylesheet">
to this:
<link href="./dist/output.css" rel="stylesheet">
or, disregard if I'm not doing something properly beforehand. just wanted to share with you all!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey! I've installed TailwindCSS a few times using the CLI method (I'm a noob at this, just practicing). And I always have issues loading the styles after I complete the steps. I realized that when making the link to the output.css file - all I need to do is add a "." before the "/" in the "href".
so from this:
<link href="/dist/output.css" rel="stylesheet">
to this:
<link href="./dist/output.css" rel="stylesheet">
or, disregard if I'm not doing something properly beforehand. just wanted to share with you all!
Beta Was this translation helpful? Give feedback.
All reactions