Comments (12)
Actually, you can create a custom build containing only the modules you need right from the website. Go to http://angular-ui.github.io/bootstrap and click "Create a Build". You'd have to do this with each release, but the overhead is small.
However, for logistical reasons, I would opt against publishing to several different bower endpoints due to high administrative overhead. Also, it would not reflect the many combinations people would make. For example, popover requires tooltip so if someone included both they would get tooltip included twice, which will cause errors.
But I'll let my compatriots weigh in too.
from bootstrap-bower.
You're right, creating a build from a website may take less time, but the problem of automation is still there.
Duplicate inclusion problem may disappear by not having any bower dependencies, so for example if you wanna include popover, please at first include the tooltip.
I know this is not a perfect solution, and I'm not a fan of having bower-* angular-ui repos for each module, but it will at least let us automate things.
from bootstrap-bower.
It's in the works. There is a PR opened for it, but we have other things to merge in first.
from bootstrap-bower.
Cool, thanks.
from bootstrap-bower.
I don't understand the dependency problem here. Just have 'popover' depend on 'tooltip' through bower. No duplication necessary. That's what bower is for. (Dependencies are not bad. They are good.)
from bootstrap-bower.
+1 for use separate modules: for example I need ONLY pagination for my application, so I don't want load all modules. Is it available now with bower?
from bootstrap-bower.
+1
from bootstrap-bower.
I found the solution:
bower install angular-ui-bootstrap --save
this command work for me. Then in index.html file add
<script src="../bower_components/angular-ui-bootstrap/src/pagination/pagination.js"></script>
but I believe, that the project didn't required separate repo with the bower.js file
from bootstrap-bower.
I use the following
bower i angular-ui-bootstrap --save
grunt build:pagination:carousel:dropdown
and copy the file dist /...- tpls.js in my project
from bootstrap-bower.
+1
from bootstrap-bower.
I did this but this is so bad:
bower install --save [email protected]:angular-ui/bootstrap.git
or
bower install --save https://raw.githubusercontent.com/angular-ui/bootstrap/0.14.3/src/datepicker/datepicker.js
the paveleremin solution doesn't work (anymore ?) the module files are not published, can't you just publish the module files? I think it was the case before.
from bootstrap-bower.
+1
from bootstrap-bower.
Related Issues (20)
- Collapse broken in 0.13.0 HOT 2
- Popover does not work HOT 3
- The code is not separated by module in NPM HOT 1
- Incorrect angular dependency version HOT 3
- on 0.13.0 Bootstrap modal backdrop doesn't disappear when using angular-ui-bootstrap HOT 1
- Dependency on bootstrap.css HOT 1
- ngTable Coloumn Customization HOT 1
- Missing license HOT 3
- Add ngAnimate in to dependency list
- Repository out of date HOT 8
- Tag 0.12.2 disappear ? HOT 3
- Problem with bower installing the latest version HOT 7
- Not working with 1.5.5
- tooltip positioning issue HOT 1
- ui-bootstrap-csp.css for > v2.0.2 release?
- Missing copyright
- needs update to latest HOT 2
- Insecure Randomness(Fortify Scan)
- Cannot set property 'title' of null HOT 1
- Unexpected behaviour of modal opened class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-bower.