CSS does not load into static build (next export)

Asked

Viewed 39 times

-1

I’m using Yarn create next-app, for my first site project on React. So I used export to generate the static site and moved the "out" folder to the server to see the result. But apparently all the css is being ignored. The documentation says it doesn’t need any configuration, someone knows what might be happening?

inserir a descrição da imagem aqui

1 answer

0

Beginner error. I moved up the "out" folder and it was changing the path where next places css. Going up its contents directly on the server works.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.