simplefolio icon indicating copy to clipboard operation
simplefolio copied to clipboard

CSS not showing while deploying in Netlify

Open AnikIslamPantha opened this issue 1 year ago • 4 comments

Netlify only shows html part.How to fix it?I have uploaded everything that was in the src directory

AnikIslamPantha avatar Mar 09 '23 19:03 AnikIslamPantha

Are you deploying using Github or drag and drop (Uploading files to Netlify) ? If you are using Drag n Drop. Do run command npm run build first then upload the dist file.

If you are using Github, make sure in the Netlify settings, in the command filed enter npm run build and the directory put dist

Hope this helps

jasonaw98 avatar Mar 30 '23 04:03 jasonaw98

I am using github and in the Netlify settings when I put dist it throws an initialization error that directory dist doesn't exist

Nikillanr avatar May 25 '23 17:05 Nikillanr

i am deploying using netlify drag and drop and it's not loading popping up error 404(not found)

emmanuel202000 avatar Jul 24 '23 18:07 emmanuel202000

Netlify only shows html part.How to fix it?I have uploaded everything that was in the src directory

I have the same issue with godaddy's hosting. Did you solve that?

yw1101 avatar Sep 07 '23 17:09 yw1101