Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Bower
Search
Matija Marohnić
May 06, 2014
Programming
1
140
Bower
Bower i njegova integracija u Grunt i Gulp workflow.
Matija Marohnić
May 06, 2014
Tweet
Share
More Decks by Matija Marohnić
See All by Matija Marohnić
Introduction to Remix
silvenon
0
130
Cypress vs. Playwright
silvenon
0
150
Studying Strapi: an open source head headless CMS
silvenon
0
33
CSS Specificity
silvenon
0
28
Make your JavaScript projects more accessible to newcomers
silvenon
0
72
React Hooks
silvenon
0
71
PostCSS
silvenon
0
42
CSS Custom Properties
silvenon
0
39
Maintainable Integration Testing in React
silvenon
0
29
Other Decks in Programming
See All in Programming
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
200
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
500
Result型で“失敗”を型にするPHPコードの書き方
kajitack
4
330
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.3k
Julia という言語について (FP in Julia « SIDE: F ») for 関数型まつり2025
antimon2
3
980
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
200
技術同人誌をMCP Serverにしてみた
74th
0
320
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
260
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
250
ドメインモデリングにおける抽象の役割、tagless-finalによるDSL構築、そして型安全な最適化
knih
11
2k
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
310
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Docker and Python
trallard
44
3.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Transcript
Bower + Grunt & Gulp Matija Marohnić @silvenon
http://bower.io “A package manager for the web.”
Npr. Želim jQuery
1. idem na http://jquery.com 2. prebacujem file u svoj project
directory 3. referenciram ga iz HTML-a 4. kada ga želim updateati, sve to ponovo
Ništa strašno Ali se povećava s brojem fileova
Npr. Želim Owl Carousel
1. http://owlgraphic.com/owlcarousel/ 2. jQuery + 2 CSS filea + 1
JS file 3. ugh…
Dodajem tuđi kôd pod version control
$ bower install --save normalize-css modernizr bootstrap
bower.json
Staviti bower_components pod version control? http://bit.ly/1hq42aZ
Pozitivne strane stavljanja pod version control • moguće je raditi
offline • osiguravanje istog sadržaja komponente •
Negativne strane stavljanja pod version control • velik file size
• prljanje commit historya • velik file size • stavljanje vendor kôda pod version control smo htjeli izbjeći • velik file size
Grunt $ npm install --save-dev grunt-bower-install
Gulp $ npm install --save-dev gulp wiredep
Bower je još uvijek malo nezreo, but it's getting there...