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
120
Cypress vs. Playwright
silvenon
0
140
Studying Strapi: an open source head headless CMS
silvenon
0
30
CSS Specificity
silvenon
0
22
Make your JavaScript projects more accessible to newcomers
silvenon
0
66
React Hooks
silvenon
0
64
PostCSS
silvenon
0
37
CSS Custom Properties
silvenon
0
34
Maintainable Integration Testing in React
silvenon
0
23
Other Decks in Programming
See All in Programming
昭和の職場からアジャイルの世界へ
kumagoro95
1
380
GAEログのコスト削減
mot_techtalk
0
120
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
740
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
210
SwiftUI Viewの責務分離
elmetal
PRO
1
240
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
9
2.2k
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
0
190
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
250
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
120
苦しいTiDBへの移行を乗り越えて快適な運用を目指す
leveragestech
0
590
『品質』という言葉が嫌いな理由
korimu
0
160
もう僕は OpenAPI を書きたくない
sgash708
5
1.6k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
Docker and Python
trallard
44
3.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Typedesign – Prime Four
hannesfritz
40
2.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
174
51k
Writing Fast Ruby
sferik
628
61k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Building Applications with DynamoDB
mza
93
6.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
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...