I am running VS2012, if you have this, right-click on the folder you want to bundle/minify, web essentials (you may need to install if not already there), then minify css or create bundle, creates new folder, drap and drop into -Layout and that's it. The folder created allows you to add / subtract so no need to worry too much)
Don't know of another way, but that route is simple enough.
looks like it was probably a configuration issue. I reinstalled twitter bootstrap from nuget and updated the web optimization framework, and then it started to work.
Using MVC 4's bundling and minification
I'm trying to use MVC 4's bundling and optimization features. They seem more standard and easier to use then client dependency's options.
I updated umbracoReservedPaths with the virtual path that I used in bundling.
Then updated the global.asax with:
And created the following class in App_Start.
Now my masterlayout.cshtml contains:
But it just renders out a url and not the actual files.
Ideas?
Hi Chad
I am running VS2012, if you have this, right-click on the folder you want to bundle/minify, web essentials (you may need to install if not already there), then minify css or create bundle, creates new folder, drap and drop into -Layout and that's it. The folder created allows you to add / subtract so no need to worry too much)
Don't know of another way, but that route is simple enough.
Hope it helps G
looks like it was probably a configuration issue. I reinstalled twitter bootstrap from nuget and updated the web optimization framework, and then it started to work.
Just in case anyone else stumbles across this issue and wonders what's going on, in your snippet above you were registering routes not the bundles:
Should have been:
BundleConfig.RegisterBundles(BundleTable.Bundles);
is working on a reply...