如何将外部资源lib插件包含到grails资产管道中 [英] How to include external assets lib plugins into grails asset pipeline
问题描述
大家好
我遇到了问题。我将使用grails asset pipeline插件包含我的所有库插件。
这是我必须使用的文件夹结构
- grails-app
- 资产
- lib
- flat-theme-2.0
- css
- img
这是我尝试过的代码:application.css
< asset:stylesheet href =admin / application.css xmlns:asset =#unknown>
/ *
* = require_full_tree assets / flat-theme-2.0 / css
*
* =要求admin / fineuploader
* =要求admin / custom-style
* /
请帮助缩短这个问题。
谢谢
Ravi Kumar
Hi everyone
I'm stuck in a problem. I've to include my all library plugins by using grails asset pipeline plugin.
Here is folder structure that I've must use
- grails-app
- assets
- lib
- flat-theme-2.0
- css
- img
Here is code that I've tried : application.css
<asset:stylesheet href="admin/application.css" xmlns:asset="#unknown">
/*
*=require_full_tree assets/flat-theme-2.0/css
*
*=require admin/fineuploader
*=require admin/custom-style
*/
Please help to short-out this problem.
Thanks
Ravi Kumar
推荐答案
由于您没有解释您的问题,因此很难提出其他建议,请参阅 http:// bertramdev .github.io / asset-pipeline / [ ^ ]。
Since you have not explained your problem it's difficult to suggest anything other than, see http://bertramdev.github.io/asset-pipeline/[^].
这篇关于如何将外部资源lib插件包含到grails资产管道中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!