I
I
Ivan Simonov2019-12-05 11:35:29
JavaScript
Ivan Simonov, 2019-12-05 11:35:29

How to show the preloader correctly?

Hello
Locally, when loading a page, you first see this page, to which styles have not yet been connected, after which a preloader ( fiddle ) appears, and only then - the finished page. productionAt the same time, everything works on the page .
Used for assembly webpack.
Please tell me how to fix this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Cherepanov, 2019-12-05
@ivan00007

Most likely you included the preloader code in the footer. Check that you include it in the header along with the necessary styles

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question