Home > Enterprise >  I have deployed my Tailwind CSS project on GitHub and it suddenly stopped working on pages deploymen
I have deployed my Tailwind CSS project on GitHub and it suddenly stopped working on pages deploymen

Time:06-25

When I ran it on my system in my local server it was working fine but when I deployed it on GitHub pages Deployment, GitHub doesn't seem to load my CSS and the CSS was not applied on my file.

repository link: https://github.com/pawangupta5050/Facebook-Login-Clone

live-website link on GitHub pages :https://pawangupta5050.github.io/Facebook-Login-Clone/

CodePudding user response:

You should consider using this...

<link rel="stylesheet" href="./assets/index.76858414.css">

Instead of this...

<link rel="stylesheet" href="/assets/index.76858414.css">

You can read more about HTML file paths here.

  • Related