Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Rails应用程序中把JQuery Themeroller文件放在哪里?(没有变化)_Jquery_Html_Ruby On Rails_Jquery Ui_Jquery Mobile - Fatal编程技术网

在Rails应用程序中把JQuery Themeroller文件放在哪里?(没有变化)

在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>

我从jquerymobilethemeroller网站下载了包含自定义主题的zip文件

邮政编码包含:


主题目录(以下是此目录中的内容)

  • 图像目录
    示例.css
    Example.min.css
Index.html(我认为只是说明)


我不知道该把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