GithubHelp home page GithubHelp logo

Comments (12)

joshdmiller avatar joshdmiller commented on July 24, 2024

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.

vhpoet avatar vhpoet commented on July 24, 2024

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.

ajoslin avatar ajoslin commented on July 24, 2024

It's in the works. There is a PR opened for it, but we have other things to merge in first.

from bootstrap-bower.

vhpoet avatar vhpoet commented on July 24, 2024

Cool, thanks.

from bootstrap-bower.

mhelvens avatar mhelvens commented on July 24, 2024

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.

paveleremin avatar paveleremin commented on July 24, 2024

+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.

rgnevashev avatar rgnevashev commented on July 24, 2024

+1

from bootstrap-bower.

paveleremin avatar paveleremin commented on July 24, 2024

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.

rgnevashev avatar rgnevashev commented on July 24, 2024

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.

eugef avatar eugef commented on July 24, 2024

+1

from bootstrap-bower.

pdemanget avatar pdemanget commented on July 24, 2024

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.

GuiToniello avatar GuiToniello commented on July 24, 2024

+1

from bootstrap-bower.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.