grails3 jquery not found
grails3 jquery not found
我是圣杯3的新手。尝试使用jquery基础知识,我在我的项目中没有定义Jquery。jquery不再是grails的默认吗?我在 gsp 开始时尝试,但给我没有定义。所以我改用手动重新收费。简单地将jquery min js文件放在资产中使用<asset:javascript src="jquery-2.2.0.min.js"/>
是正确的,还是应该使用另一种更基本的方式?
在最新的圣杯中,如 3.1.1 中,我发现它何时生成
grails-app/views/layouts/main.gsp
它具有:
<asset:stylesheet src="application.css"/>
<g:layoutHead/>
</head>
...
<div class="footer" role="contentinfo"></div>
<asset:javascript src="application.js"/>
..
修改此文件并移动该应用程序.js在 css 文件下:
</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<asset:stylesheet src="application.css"/>
<asset:javascript src="application.js"/>
<g:layoutHead/>
</head>
<body>
再试一次鲍勃此时可能是你的叔叔
相关文章:
- Requirejs main.js could not be found
- JavaScript文件在IIS上返回404 Not Found
- react-css-module module not found
- grails3 jquery not found
- GeckoFX JSContext not found C#
- Marionette: childViewContainer was not found
- Js not found spring mvc
- Ajax POST MyUrl 404 (Not Found)
- 节点webkit中的Require('jquery ui')产生navigator not found错
- xmlhttp.send() returns 404 Not Found (Ajax)
- Socket.io.js not found (node.js + express + socket.io)
- Module not found: Error: Cannot resolve module 'fs'
- 状态码:404 Not Found (from cache) |使用AngularJS的混合型应用
- not found error: DOM exception 8
- Systemjs and tsc setup - *.ts.js 404 (Not Found) Error
- Angular2材质设计alpha.9-3有'404 not found'@angular /材料
- Laravel Routes/jQuery $.post() returning 404 Not Found
- http://localhost/undefined 404 (Not Found)
- /bin/sh not found -- spawnSync
- 节点路由器.delete函数返回404 Not Found