Open thugsb opened 11 years ago
How does this differ from what is already in initializr?
At least when I opened this issue 3 months ago, it was the case that initializr would include the bootstrap files in your project, e.g. <link href="bootstrap.min.css"/>
, whereas it would be nice to instead include links to CDN-hosted libraries, e.g. <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
.
Obv that doesn't allow for customization with LESS, but CDN-hosted files are sometimes more desirable.
Well my comment was on the jQuery part as it already has this kind of fallback - and it was definitely there 3 months ago.
Bootstrap is different thing - I personally would not use CDN on that.
But many people do...hence why the CDN exists and is so popular. Up to you, but imho it'd be nice to have the option. If you don't want to, close the issue. :)
+1 on CDN for everything, this is the future for templated development
Consider the option to link to jQuery+Bootstrap CDN, instead of including the files. http://www.bootstrapcdn.com/ https://developers.google.com/speed/libraries/devguide#jquery
You could also include the fallback, i.e. http://css-tricks.com/snippets/jquery/fallback-for-cdn-hosted-jquery/