R
R
Roma Ishutin2019-09-15 11:04:37
css
Roma Ishutin, 2019-09-15 11:04:37

SASS styles not working when uploaded to server?

Good afternoon, I’m making a website, and now it’s time to upload everything to the hosting, for the first time I uploaded everything, it seems to have uploaded, but yesterday I decided to modify the site a little, updated some SASS files, but they don’t want to be applied, tried to clear the CACHE didn’t help. Tell me what to do. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
godsplane, 2019-09-15
@ShutyA1488

Roma Ishutin in general, when you write gulp default / sass / watch on the command line, all the code is taken from the sass file and compiled into the _main.min.css file into pure CSS. The browser only understands pure css. He does not understand Sass. Sass is needed for the convenience of the developer so as not to rewrite several things several times. You connect the same file to the page, if you simply edit the sass file without compiling it, then nothing will change.
I think you got to the preprocessors early.
In general, open the entire archive, make the necessary changes in the sass file and then write gulp styles on the command line, after that you can replace the *.css file on the hosting.

R
Roma Ishutin, 2019-09-15
@ShutyA1488

godsplane
https://drive.google.com/open?id=1_7zx2j3aCreyxC6R... ARCHIVE
https://lavki-ua.000webhostapp.com/delivery.html SITE
I say right away, I'm probably doing the code and the site for the first time. SORI)))) and it is unfinished

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question