Answer the question
In order to leave comments, you need to log in
Is it possible to build websites without gulp?
Hello. I am a beginner layout designer. I took layout courses, I had a very strong motivation, but when it came to gulp, my motivation dropped sharply.. I don’t understand how to work with it... I don’t understand why it is needed in principle. .. I can also download files manually .. I can’t understand how to work with it and what benefits it brings besides crap with it .. So many concepts, some kind of manifestos, bower, npm .... If I typeset at home and on work the same project.... How then to be? It turns out only on one computer it is possible to work? Are there coders who do not work with gulp and the like?
Answer the question
In order to leave comments, you need to log in
I can also download files manually.
In fact, it saves a lot of time, mainly when using preprocessors
. It is well described here - Why is Gulp needed?
If you need to work on several computers on one project, then it is enough to transfer the packages.json file with all dependencies and install them usingnpm i
At a new job, sometimes a clean layout began to come in for revision without a assembler, it was not very (to be honest, not at all) convenient after a couple of years of working with gulp grunt. So after a couple of such projects, I realized that at least the necessary minimum for such work is needed, namely:
1) a server for statics so that you do not manually update
- install browser-sync ( https://browsersync.io/) globally to start the server, enter in the command line - 'npm install -g browser-sync'
- in the future, the server is started (enter the command in the root of the project) by the command - 'browser-sync start --server --files "./**/*.+ (css|html|js)" --directory "/" --no-notify '
2) Preprocessors in my case scss (I just rename the main style file, say style.css to style.scss and work with the latter)
- you can use the method convenient for you to compile from scss to css, I compile via the command line, for this I use globally installed ruby-sass ( https://sass-lang.com/ruby-sass) command (gem install sass) need ruby installed and install watcher and compile files with command "sass --no-cache --sourcemap=none --watch style.scss:style.css --style expanded"
3) for the main commands, create bash aliases for a quick call to the
ps command. so it is possible without gulp in principle, but at least the first 2 points must be used in any case.
Is it possible to build websites without gulp?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question