Giter Club home page Giter Club logo

Comments (6)

Morgul avatar Morgul commented on August 22, 2024 1

@Zelarith Yeah, when I started this project I was in a similar boat, but we did the upgrade to a new build system (We've gone through three since the bower days, TBH)... and even though it's not hard, I do know what kind of push back you can get on those large changes to "legacy" products. I'm really, really trying to encourage people to use this the only way the maintainer does, but alas, such is the nature of this particular project.

I need to just be a little bit more open, and let the people who use bower deal with issues with bower, if they come up. Kinda hate doing that, but it's better than a "no" in this case.

from ui-bootstrap4.

Morgul avatar Morgul commented on August 22, 2024

Here's some good news/bad news.

Bad News

Bower is not officially supported by ui-bootstrap4. Since it no longer recommends being used for new projects, and I have limited resources, I have no intention of maintaining support for it.

Good News

It should just work. With some minor caveats.

$ bower install morgul/ui-bootstrap4

However, there's no dist folder. Instead, the files you're looking for are under bower_components/ui-bootstrap4/docs. That folder contains a copy of every version, ever. Needless to say, it's a little overkill, but it'll work.

If you (or anyone else) wants to improve that situation and make it less bloatedr, I will absolutely take merge requests.

from ui-bootstrap4.

Zelarith avatar Zelarith commented on August 22, 2024

Hi,
I'm also working with bower.
I tried

$ bower install ui-bootstrap4

And it successfully added the directory to my bower.
The problem though is that my brunch-config.js doesn't seem to be able to pick it up, as it doesn't have any bower.json to indicate it where to pick the main file.

Anyone facing this issue with a handy workaround?

from ui-bootstrap4.

Morgul avatar Morgul commented on August 22, 2024

If this is really a need, I'll take a merge request to add bower.json.

from ui-bootstrap4.

Zelarith avatar Zelarith commented on August 22, 2024

That'd be really nice :)

While bower is deprecated it is still maintained, and I see a lot of projects still using it.

Of course, new projects should use Yarn over Bower, and I see how one could think an old project would be unlikely to come without ui-bootstrap integrated.

As a matter of fact, my project already had it, but the wrong version.
It had Bootstrap CSS 4.1.3, with UI-Bootstrap 2.0.5 (wich was built for Bootstrap CSS 3.3.7).
Some classes were updated between these 2 versions of Bootstrap CSS, and, as a result, we can't go back to Bootstrap CSS 3.3.7, but some of the modules of UI-Bootstrap aren't working properly either.

The only thing to do is to upgrade to UI-Bootstrap4, but we are stuck with bower...
Either that or we need to import it as a JS asset, wich is kinda ugly.

from ui-bootstrap4.

Morgul avatar Morgul commented on August 22, 2024

Reopening this to track.

from ui-bootstrap4.

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.