mcintyre321 / FormFactory

MVC5, Core or standalone - Generate rich HTML5 forms from your ViewModels, or build them programatically
http://formfactoryaspmvc.azurewebsites.net/
MIT License
302 stars 103 forks source link

jQuery killed in Asp.Net Mvc #36

Open Budsy opened 7 years ago

Budsy commented 7 years ago

The EmbeddedResourceVirtualPathProvider kills my Mvc + Bootstrap app's jQuery is rendered nofunctional, as the jQuery object is no longer recognized. Is there an elegant way to fix this? I will figure it out eventually, but maybe someone has already encountered this issue?

Budsy commented 7 years ago

Ok, I discovered that using bundles to load in jQuery doesn't seem to play perfectly well with the EmbeddedREsourceVirtualPathProvider on my setup. I have to explicitly declare the jQuery file and version in the bundles. No wildcard for the version works for some reason. Version conflict of some kind? The jQuery I used successfully was 3.1.1 .

mcintyre321 commented 7 years ago

Interesting! So jquery won't bundle, but other things will? I guess you can workaround it until we figure out why

On Sat, 4 Feb 2017 at 06:13, Budsy notifications@github.com wrote:

Ok, I discovered that using bundles to load in jQuery doesn't seem to play well with the EmbeddedREsourceVirtualPathProvider on my setup. When I loaded jQuery in the section of the page, it all came back to life, Oddly, only the jQuery bundle seems to have failed for some reason.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mcintyre321/FormFactory/issues/36#issuecomment-277422353, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQ0-u0ANmUJIrhUHgP3wYayu6MVkVg2ks5rZBcMgaJpZM4L29j3 .