简体   繁体   中英

Spring roo - including jQuery

I have added jQuery link to load-scripts.tagx as following.

<script src="custom/js/jquery-1.10.2.min.js" type="text/javascript"></script>

It compiles fine and page loads fine, when i check the generated source it is as following in the generated html, which is perfectly fine.

<script type="text/javascript" src="custom/js/jquery-1.10.2.min.js"/>

This loads the js as expected, but my only concerned is that it is trying to load jquery-1.10.2.min.map and this fails since there is no such file. I want to figure-out why this is happening.

Add this map file in your project

http://code.jquery.com/jquery-1.10.2.min.map

Latest gvNIX 1.2.1 includes an addon to move your project to jQuery. Take a look at http://code.google.com/p/gvnix/wiki/QuickStartGvnix

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM