Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
0 Points
1 Post
May 16, 2012 01:38 PM|LINK
Hi All
I am a newbie at SPA and MVC4.
On creating a new SPA project, I tried to add a new css file in the css folder. To get the new css downloaded I had to comment out :
BundleTable.Bundles.RegisterTemplateBundles();
and insert :
BundleTable.Bundles.EnableDefaultBundles();
After this when I tried running the application (by pressing F5), I found that the debugger showed a Javascript error.
After removing "EnableDefaultBundles" the JS error got resolved.
Am I doing anything wrong ?
Thanks,
Amitav.
amitava.nath
0 Points
1 Post
Javascript error with EnableDefaultBundles
May 16, 2012 01:38 PM|LINK
Hi All
I am a newbie at SPA and MVC4.
On creating a new SPA project, I tried to add a new css file in the css folder. To get the new css downloaded I had to comment out :
BundleTable.Bundles.RegisterTemplateBundles();
and insert :
BundleTable.Bundles.EnableDefaultBundles();
After this when I tried running the application (by pressing F5), I found that the debugger showed a Javascript error.
After removing "EnableDefaultBundles" the JS error got resolved.
Am I doing anything wrong ?
Thanks,
Amitav.