S
S
Stanislav Shabalin2020-09-16 10:42:01
Django
Stanislav Shabalin, 2020-09-16 10:42:01

Which preprocessors are preferable for website development?

Good afternoon.

Before python, I wrote sites in php and for convenience in the front I used the gulp or grunt daemon with a node and compiled statics from sass to css with auto-prefixes and compression (the same for js ).

I found a recommendation to install the django-sass-processor

library on the Internet. But not everything is as convenient as it seemed to me, there are nuances with production and this should not be forgotten to be taken into account at the stage of transfer or update. Plus, autoprefixes require the same node with the installation of additional libraries. Plus I would like to see the styles combined or grouped like minifyCSS or JS.

Who from experience what uses? I recently switched from php and continued to work with the sublime editor, where you can also configure third-party libraries and press key combinations every time, but this is not the way to develop IMHO.

I would be grateful for any of your recommendations

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Kitaev, 2020-09-16
@Starck43

You have some non-obvious connections. For some reason, the language should influence the front, the IDE should not affect the preprocessors. It smacks of dilettantism.
The best thing you can do right now is to separate the front and back. Front to write on React'e. Need SSR - configure SSR. If you want SASS, it's easy. Minification there will be done for you by webpack or parcel. Babel will translate ES6 to ES5.
And to shove some front-line guts into the junga - well, that's just fu.

D
Dr. Bacon, 2020-09-16
@bacon

Python doesn't care about preprocessors. Whatever you want and use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question