R
R
Ruslan Shadura2016-04-28 13:31:10
css
Ruslan Shadura, 2016-04-28 13:31:10

How to start using SASS on hosting?

Hello! I would like to clarify about using the SASS preprocessor.
How to start using it on local is clear, but what about hosting usually? (e.g. TimeWeb)?
Maybe someone has experience? Or just explain to me stupid what's what =)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Cat Anton, 2016-04-28
@Houdy

Compile sass to css where it can be done (locally). Upload ready-made css files to the hosting.

D
Denis Ineshin, 2016-04-28
@IonDen

Nobody does that. Usually the site sources are stored on the local machine + Git (for example). If you need to make changes, they are made locally, then the build is assembled (Grunt / Gulp / Webpack, etc.) and only then uploaded to the server (manually or automatically).

P
partyzanx, 2019-04-20
@partyzanx

I thought here that sass and other preprocessors are generally inconvenient and what the hell are needed, in this case. There are also variables in regular css. The second reason is that when you look at the code in the browser, it shows you css, not your sass. And then it becomes 100 times more difficult to look for this code in sass. The third reason is all sorts of crap associated with the translation from sass to css. In general, pampering is everything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question