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
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
120
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
480
2 週間で Twitter Bot を作ってみた
contour_gara
0
770
Micro Frontends for Java Microservices - Utah JUG 2024
mraible
PRO
1
110
Ruby Function Composition
bkuhlmann
1
340
Going beyond Apache Parquet's default settings
xhochy
0
130
Three ways to use AI on Android: The Good, the Bad and the Ugly
marxallski
0
110
Java 22 Overview
kishida
1
190
新宿ダンジョンを可視化してみた
satoshi7190
3
390
Sheets API使ってみた
toshi0383
2
160
業務ツールとして使うPostman
msys75
0
100
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
320
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Thoughts on Productivity
jonyablonski
60
3.9k
Typedesign – Prime Four
hannesfritz
36
2.1k
Scaling GitHub
holman
457
140k
The Language of Interfaces
destraynor
151
23k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
Navigating Team Friction
lara
179
13k
The Cult of Friendly URLs
andyhume
74
5.7k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
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...