-
Notifications
You must be signed in to change notification settings - Fork 10
Replace current webpack included Bootstrap w/jQuery with ng2-bootstrap #39
Comments
What a coincidence. I just stumbled on this myself today. I started playing with it this afternoon and it looks promising. I'll claim this one. |
Yeah, it is seems better than how we build Bootstrap with jQuery and jQuery typings. I would like to try the pagination for it may help with the server side anchor tag creation. I am not seeing the navbar though. Maybe the classes will come with it. Can you post a link for me to follow? |
Unfortunately I failed to commit my work up to Github anywhere. So it's still sitting on my work computer. I did get the basics working following http://valor-software.com/ng2-bootstrap/ and https://github.com/valor-software/ng2-bootstrap I can likely have something to show tomorrow. Though it wasn't hard to enable, just add it as a dependency and remove all the bootstrap / jquery stuff from our webpack.config.js. So if you need it now, you probably could get the basics in a short period of time. Otherwise I'll get something shared tomorrow |
Sounds good. I still have some figuring out to do with the pagination. Thanks. |
Been working on this today. I have an initial version that is "mostly working" at: It uses The look and feel all works. But, the usual Bootstrap JS tools don't seem to work right yet. |
Figured out the (obvious) step I missed. I wasn't properly importing directives into Components like:
And, referencing them in the Component directives like:
Unfortunately, though, as soon as I did that, I ran into this error from
It seems this is a "known issue" in Essentially, n2-bootstrap doesn't "play well" with Angular Universal (yet), as it still relies on things (one being |
I've added a new label: "progress blocked" which denotes that an issue is currently being blocked by progressing. This particular issue/ticket is being blocked by an issue in |
This ticket is no longer blocked. The known issue is now resolved in Moving this back into the "in progress" status, as I'll look into using v1.0.15 release to see if it now works for us. |
Now dependent on Angular Universal updating to use Angular 2 beta 16 (which looks to be coming soon, see angular/universal#378)
|
beta 17 has been published. We should be able to use ng2-bootstrap now. It requires code changes in order to get dependencies upgraded to work completely and without exceptions. I have done this on the item creation branch I am working on. |
ARGH. Unfortunately we still end up with a dependency mismatch when trying to run Universal v0.9.9 jumped straight to requiring Angular 2 beta 17. But |
ng2-bootstrap is ready to be brought in. It will require a bit of work replacing all the usage of bootstrap with ng2-bootstrap. If you want you can assign this card to me and I will take care of it. |
Found this. Native Angular2 directives for Bootstrap.
http://valor-software.com/ng2-bootstrap/index-bs4.html
This will allow us to use Bootstrap 4, which will compete with Material Design.
The text was updated successfully, but these errors were encountered: