在Rails应用程序中把JQuery Themeroller文件放在哪里?(没有变化)
我从jquerymobilethemeroller网站下载了包含自定义主题的zip文件 邮政编码包含:在Rails应用程序中把JQuery Themeroller文件放在哪里?(没有变化),jquery,html,ruby-on-rails,jquery-ui,jquery-mobile,Jquery,Html,Ruby On Rails,Jquery Ui,Jquery Mobile,我从jquerymobilethemeroller网站下载了包含自定义主题的zip文件 邮政编码包含: 主题目录(以下是此目录中的内容) 图像目录 示例.css Example.min.css Index.html(我认为只是说明) 我不知道该把css文件和图像目录放在哪里才能使主题正常工作 我试着把它们放在app/assets/stylesheets和public/stylesheets中,但是我的页面没有改变以匹配主题 也许我没有正确地引用页面 <head>
主题目录(以下是此目录中的内容)
- 图像目录
示例.css
Example.min.css
我不知道该把css文件和图像目录放在哪里才能使主题正常工作 我试着把它们放在app/assets/stylesheets和public/stylesheets中,但是我的页面没有改变以匹配主题 也许我没有正确地引用页面
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="themes/Example.css" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile.structure-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
因此,您需要将它放在供应商/资产
中,并将其包含在应用程序/资产/样式表/应用程序中
*= Example.min
或
我是否需要更改我发布的任何html?您可以在发布后将其从
中删除。
*= Example