CSS is not loading

Here’s my Github repo for the project.

https://jobseekingappui.netlify.app/
Live Link

I have developed this project using Vanilla JS and Tailwind.
I have a src folder inside the public directory that contains HTML files.

Whenever I open the html files inside the src folder on the deploy link, the CSS does not load.

@Muneeb Your issues don’t seem to be Netlify specific, but related to Vite and how you have your project structured.

For example, you probably don’t want your /src/ folder to be inside your /dist/ folder.

As you’re using multiple html files you should read Vite’s Multi-Page App documentation.

1 Like