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
160
1
Share
Bower
Bower i njegova integracija u Grunt i Gulp workflow.
Matija Marohnić
May 06, 2014
More Decks by Matija Marohnić
See All by Matija Marohnić
oxlint & oxfmt: linting and formatting from the future
silvenon
0
29
Goodbye jsdom/happy-dom, hello Vitest Browser Mode!
silvenon
0
19
Introduction to Remix
silvenon
0
160
Cypress vs. Playwright
silvenon
0
170
Studying Strapi: an open source head headless CMS
silvenon
0
55
CSS Specificity
silvenon
0
62
Make your JavaScript projects more accessible to newcomers
silvenon
0
91
React Hooks
silvenon
0
93
PostCSS
silvenon
0
65
Other Decks in Programming
See All in Programming
OSもどきOS
arkw
0
400
Inside Stream API
skrb
1
620
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
130
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
420
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
2.3k
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
430
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.5k
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
440
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
170
net-httpのHTTP/2対応について
naruse
0
430
エージェンティックRAGにAWSで入門しよう!
har1101
5
110
Featured
See All Featured
Navigating Team Friction
lara
192
16k
Google's AI Overviews - The New Search
badams
0
1k
Between Models and Reality
mayunak
4
320
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Agile that works and the tools we love
rasmusluckow
331
21k
Embracing the Ebb and Flow
colly
88
5.1k
Balancing Empowerment & Direction
lara
6
1.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The Invisible Side of Design
smashingmag
302
52k
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...