twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.5k stars 78.85k forks source link

Deploy an official NuGet package #16692

Closed supergibbs closed 9 years ago

supergibbs commented 9 years ago

I know this has been brought up many times but Bootstrap can currently be installed via a GitHub download/clone, CDN, Bower, npm, Composer and Meteor. Adding NuGet would be a helpful addition.

The best NuGet Bootstrap Package is managed by Outercurve Foundation. Unfortunately their package has had issues in the past and is often out of date (still on v3.3.4 currently).

@mdo suggested I open an issue to see how much interest there is. If this is something the core team would consider, I believe it could be fully automated with the addition of a couple files. I'd be happy to take on setting it up.

natalka01 commented 9 years ago

just another +1

jimdavis1026 commented 9 years ago

A nuget package for Bootstrap would be used a lot. Consider this a vote for it. +1

Eonasdan commented 9 years ago

This is a little late the game here guys. Nuget is going to stop delivering front end packages like this to all new .Net 5+ projects (MVC 6, Webforms, etc). All .Net developers are going to have to use bower to add front-end packages in the future.

See this: https://github.com/NuGet/Home/issues/930

supergibbs commented 9 years ago

@Eonasdan yes this has been brought up but there will a long transition to the new system so there is no harm in supporting a nuget distro in the mean time.

Not an automated process yet but currently up to date with v3.3.5: https://www.nuget.org/packages/Bootstrap/ https://www.nuget.org/packages/Bootstrap.Less/

sirkirby commented 9 years ago

I'll plan to redirect https://www.nuget.org/packages/Twitter.Bootstrap.Less/ to Bootstrap.Less with the next update...Did the same thing when switching from Twitter.Bootstrap to Bootstrap when Outercurve took over the maintenance. Issue referenced above. thanks @supergibbs for the heads up.

Untit1ed commented 9 years ago

+1. Outdated bootstrap packages was one of the reasons I switched to bower from NuGet. I agree it's a little too late now, but better late than never.

taspeotis commented 9 years ago

+1 although I've never had a problem with the Outercurve managed NuGet package.

ichpuchtli commented 9 years ago

+1

tiesont commented 9 years ago

@supergibbs Not sure if you're managing the package, but the 3.3.5 version does not include the Glyphicon font files. Is this intentional? I notice they're still referenced in the CSS file, so...

supergibbs commented 9 years ago

@tiesont I just checked and it seems fine to me. Make sure you are using the official packages; there are lots of others.

https://www.nuget.org/packages/bootstrap https://www.nuget.org/packages/bootstrap.less

The font files are included in both. In the less package, you may have to change the font path in the variables.less file depending on your setup.

Let me know if it's still not working for you!

tiesont commented 9 years ago

@supergibbs True enough. Should have checked the .nupkg first.

For whatever reason, when I updated from the 3.3.4 version, the font files were not copying over. Using Update-Package –reinstall bootstrap, the fonts got copied in. Probably just something weird about this project. Thanks!

cvrebert commented 9 years ago

Fixed by #16710.