# |
Jun 27th 2017, 10:42 |
cleptric |
@neon1024 regarding saas: `@import (reference) "../../vendors/bower_components/bootstrap/less/mixins.less";` Can you do sth like this? We’ll switch to saas when Bootstratp 4 comes out, so i just looked into less so far |
# |
Jun 27th 2017, 10:41 |
cleptric |
just for this small tasks |
# |
Jun 27th 2017, 10:41 |
cleptric |
Now, my node_modules folder is 100 MB |
# |
Jun 27th 2017, 10:39 |
cleptric |
I use it to install grunt and a js code sniffer |
# |
Jun 27th 2017, 10:39 |
cleptric |
I have mixed feelings about npm anyways |
# |
Jun 27th 2017, 10:39 |
dakota |
but yarn is |
# |
Jun 27th 2017, 10:38 |
cleptric |
But npm isn’t faster than bower |
# |
Jun 27th 2017, 10:38 |
dakota |
exactly :) |
# |
Jun 27th 2017, 10:38 |
cleptric |
Because it’s faster |
# |
Jun 27th 2017, 10:38 |
neon1024 |
@cleptric A horse and cart works, so why drive a car? ;) |
# |
Jun 27th 2017, 10:38 |
dakota |
yarn is the way of the future :) |
# |
Jun 27th 2017, 10:37 |
cleptric |
It works, so why should I chnage it? |
# |
Jun 27th 2017, 10:37 |
dereuromark |
me too |
# |
Jun 27th 2017, 10:37 |
cleptric |
I used bower |
# |
Jun 27th 2017, 10:37 |
neon1024 |
It did always seems a bit odd to use a package manager to install a package manager. |
# |
Jun 27th 2017, 10:34 |
spriz |
NPM all the things |
# |
Jun 27th 2017, 10:34 |
spriz |
To me Bower is dead :P |
# |
Jun 27th 2017, 10:34 |
spriz |
I do not see any reason to use bower anymore :thinking_face: anyone can fill me in? |
# |
Jun 27th 2017, 10:25 |
maymeow |
im still using bootstrap 3 (for now) |
# |
Jun 27th 2017, 10:25 |
birdy247 |
bootstrap 4 is sass |
# |
Jun 27th 2017, 10:23 |
maymeow |
yes |
# |
Jun 27th 2017, 10:23 |
neon1024 |
I think Twitter Bootstrap is built using Less though |
# |
Jun 27th 2017, 10:23 |
neon1024 |
I found Less first, as I read about Compass, which was the front-end framework built on Less |
# |
Jun 27th 2017, 10:22 |
neon1024 |
#badanalogies |
# |
Jun 27th 2017, 10:22 |
neon1024 |
They’re like flavours of ice cream. They’re all a bit different, but they’re all ice cream at the end of the day :P |
# |
Jun 27th 2017, 10:22 |
neon1024 |
The Sass gem can convert Less into Sass if I recall |
# |
Jun 27th 2017, 10:21 |
neon1024 |
As you have sass vs scss too |
# |
Jun 27th 2017, 10:21 |
neon1024 |
Same difference *really* |
# |
Jun 27th 2017, 10:21 |
maymeow |
Sass vs Less? I have tried only Less mainly because i have installed nodeJS on my pc... |
# |
Jun 27th 2017, 10:19 |
neon1024 |
We went with the Sass gem mostly because we all use Mac OS which comes with Ruby, so it’s easier for the design team :slightly_smiling_face: |
# |
Jun 27th 2017, 10:19 |
neon1024 |
Saves you having to have both NodeJS and Ruby in your development environment |
# |
Jun 27th 2017, 10:19 |
neon1024 |
So you might want to find a NodeJS package to build your Sass |
# |
Jun 27th 2017, 10:18 |
neon1024 |
If you’re going to use Bower, then you’ll need NPM, which means you need NodeJS |
# |
Jun 27th 2017, 10:18 |
neon1024 |
At least, that’s my very limited understanding of it’s purpose |
# |
Jun 27th 2017, 10:18 |
neon1024 |
Just like how you use Composer |
# |
Jun 27th 2017, 10:18 |
neon1024 |
Perhaps some google maps thing, some charts js perhaps, maybe reactjs |
# |
Jun 27th 2017, 10:17 |
neon1024 |
So you might include twitter bootstrap and jquery in your bower.json |
# |
Jun 27th 2017, 10:17 |
neon1024 |
Well Bower is just a package manager |
# |
Jun 27th 2017, 10:17 |
birdy247 |
and the JS is handled via bower |
# |
Jun 27th 2017, 10:17 |
neon1024 |
We also like --style=compressed for some nice compressed css :slightly_smiling_face: |
# |
Jun 27th 2017, 10:16 |
neon1024 |
Yep |