Z
Z
zugo2014-07-23 18:05:58
GitHub
zugo, 2014-07-23 18:05:58

Where can I find a real example of a Front-end project using Grunt.js, bower, Bootstrap and LESS?

Hello!
Decided to learn modern "Front-end workflow" using tools like npm, Grunt and bower. Relatively figured out how to use all this, but I would like to see how they are applied in real projects, in particular, using Bootstrap (LESS compilation and all that). How best to set up tasks in Grunt for dev and production builds, how best to link it to the back-end, etc.
It would be nice to get a link, for example, to some similar project (at least a regular site) on a github or other similar resource. No matter how much I searched, I couldn't find it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rainum, 2014-08-06
@Rainum

By no means do I pretend to be an example of a modern "Front-end workflow", but my small TODO app (this is a test task) is just implemented using Grunt + Bower + NPM for package management and scaffolding, node + Express..js for the backend and Angular + SASS for the frontend.
Of course, it does not quite meet the given criteria, but in general the concept is the same, so it will not be difficult to finish it to your needs.
Fork and use to your health :)
https://github.com/rainum/test-todo-app

A
aen, 2014-07-31
@aen

No one will show you the source code of a commercial project.
The style build for sales and development is no different. We have a watch set up, which, every time any file from the style is saved, launches the build task. When building, all *.scss / *.less files are collected into one (grunt-contrib-less or grunt-sass), and then autoprefixer is passed through the resulting file.
How to use it in CI already depends on what you are using. More recently, on one project, I had to set up a build for TFS. There were no particular problems. There are manuals for TeamCity.
What do you need a bower for? For bower install bootstrap? What is the difficulty here?

A
A11oW, 2014-11-13
@A11oW

If relevant, see generators for yeoman

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question