Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS not showing while deploying in Netlify #247

Open
AnikIslamPantha opened this issue Mar 9, 2023 · 4 comments
Open

CSS not showing while deploying in Netlify #247

AnikIslamPantha opened this issue Mar 9, 2023 · 4 comments

Comments

@AnikIslamPantha
Copy link

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

@jasonaw98
Copy link

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

@Nikillanr
Copy link

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

@emmanuel202000
Copy link

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

@yw1101
Copy link

yw1101 commented Sep 7, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants