'Bar chart working in localhost but not working after hosting on gitpage
The bar chart is working fine in localhost but after hosting on gitpage it's not showing properly. What to do?
Solution 1:[1]
The JS appears to be working ok and the app is running OK but I think the CSS is missing, so I completely understand your confusion!
You're using Tailwind so I'm going to assume that the Git pages deploy does not trigger the Tailwind build process. As that's done transparently locally you would not be 'hosting' the CSS that you would see.
I know posting links is naughty but as you're new have a read of this blog: https://harrywang.medium.com/introducing-tailpages-tailwind-github-pages-89903c52d3ec
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tobin |
