S
S
Sergen232019-08-15 23:14:03
JavaScript
Sergen23, 2019-08-15 23:14:03

Is Gulp required for layout?

Newbie. I'm going to make a site using sass, compile to koala. I did not plan to use js.
Please explain to me, gulp is needed only at the stage of working with js?
and another question in pursuit, the last time I used gulp, I got an error in the console, as long as I'm just learning, but I'm not familiar with js, I don't know what to do, that's why I don't want to use gulp))

gulp.task('watch', function() {
    gulp.watch('app/sass/**/*.sass', [ 'sass' ]);
});

Answer the question

In order to leave comments, you need to log in

6 answer(s)
P
profesor08, 2019-08-16
@profesor08

If you want easy, simple and fast, then https://parceljs.org/
If you want to do everything your way and to your taste, then https://webpack.js.org/ , but you have to mean its ecosystem of plugins.
Gulp has nowhere to shove.
There are ready-made starter assemblies of a webpack or galp (if suddenly), so they can help you figure out the ecosystem and build a config, but using them is a pain, because you are not their creator, who prepared for yourself, or maybe not.

R
raiboon, 2019-08-16
@raiboon

Not really, it is already outdated and many features are missing.
Webpack is an over-engineered monster.
Better parcel or roll-up (if you need more flexibility).

V
Vladimir, 2019-08-16
@Casufi

Listen, it won't hurt. He also has a webpack screencast, you can also go through it, it won't be superfluous.
https://www.youtube.com/watch?v=uPk6lQoTThE&list=P...

4
4mobile, 2019-08-16
@4mobile

It will not be superfluous, google its advantages. One live reload is worth something.
But if you are just studying layout, it is not at all necessary.
If you make a lot of typesetting to order, galp allows you to speed up a lot, which means you can earn more in the same time.
There are ready-made configurations, you don’t have to delve into js especially.

P
posters, 2019-08-16
@posters

It will not be superfluous, google its advantages. One live reload is worth something.

For me, the gallp is so overrated (although I use it myself). Too much enthusiasm for nothing. Almost all the functionality of plugins for Galp can be repeated simply by installing plugins in the IDE or in a modern editor.

B
Brusni4kin, 2019-08-16
@Brusni4kin

Gulp is good, but still better than webpack. You need to describe the processing order in both collectors. Webpack is more flexible and solves more problems. Without knowledge of JS it will be sad. Attaching webpack to gulp is a bad idea. Learn JS if you plan to continue doing layout and frontend. You will open a new world for yourself. In the open spaces of git, there are many webpack configs sharpened for layout.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question