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
130
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
94
Cypress vs. Playwright
silvenon
0
120
Studying Strapi: an open source head headless CMS
silvenon
0
23
CSS Specificity
silvenon
0
20
Make your JavaScript projects more accessible to newcomers
silvenon
0
47
React Hooks
silvenon
0
57
PostCSS
silvenon
0
30
CSS Custom Properties
silvenon
0
25
Maintainable Integration Testing in React
silvenon
0
15
Other Decks in Programming
See All in Programming
Try creating your own orderedmap
kazamori
1
280
TypeScriptとGraphQLで実現する 型安全なAPI実装 / TSKaigi 2024
hokaccha
5
2.7k
教えて!スクラムコーチ品質とスピードのバランスはどうすりゃいいの?
pinboro
0
110
Next.js App Router
quramy
14
2.3k
Go製Webアプリケーションのエラーとの向き合い方大全、あるいはやっぱりスタックトレース欲しいやん / Kyoto.go #50
utgwkk
6
2k
一文字エイリアスのすすめ
fujimura
0
190
TypeScriptでもLLMアプリケーション開発 / LLM Application In Typescript
rkaga
5
1.3k
AppRouter Panel Talk
yosuke_furukawa
PRO
1
520
PHPコードの実行モデルを理解する / Understanding-the-PHP-Execution-Model
shin1x1
0
1.1k
FoodGram
iseruuuuu
0
230
Adding Security to Microcontroller Ruby
sylph01
1
150
2024 コーディング研修
ckazu
2
640
Featured
See All Featured
How GitHub (no longer) Works
holman
305
140k
Statistics for Hackers
jakevdp
790
220k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
26
2.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Raft: Consensus for Rubyists
vanstee
133
6.3k
Docker and Python
trallard
35
2.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
22
1.4k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
The Cult of Friendly URLs
andyhume
74
5.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
GraphQLとの向き合い方2022年版
quramy
33
13k
Designing for Performance
lara
601
67k
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...