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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Matija Marohnić
May 06, 2014
Programming
170
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
36
Goodbye jsdom/happy-dom, hello Vitest Browser Mode!
silvenon
0
29
Introduction to Remix
silvenon
0
170
Cypress vs. Playwright
silvenon
0
180
Studying Strapi: an open source head headless CMS
silvenon
0
58
CSS Specificity
silvenon
0
64
Make your JavaScript projects more accessible to newcomers
silvenon
0
97
React Hooks
silvenon
0
98
PostCSS
silvenon
0
67
Other Decks in Programming
See All in Programming
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
650
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
220
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
520
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
2
450
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
200
MySQLとPostgreSQLって何が違うの?
akagami
0
150
高専キャリア LT 発表内容
crysta1221
4
4.3k
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
160
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
3
2.3k
業務時間外もAIに働いてもらう話
colorful12
2
8.7k
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Mobile First: as difficult as doing things right
swwweet
225
10k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
450
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Building Adaptive Systems
keathley
44
3.2k
Building AI with AI
inesmontani
PRO
1
1.2k
RailsConf 2023
tenderlove
30
1.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Become a Pro
speakerdeck
PRO
31
6.2k
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...