Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.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
Clojure 黑色css可以';你不能装吗?_Clojure_Noir - Fatal编程技术网

Clojure 黑色css可以';你不能装吗?

Clojure 黑色css可以';你不能装吗?,clojure,noir,Clojure,Noir,我发现我不能在黑色应用中加载css。 也不能更改css源文件,路由是否有问题 (ns my-web.views.common (:use noir.core hiccup.core hiccup.page-helpers )) (defpartial layout [& content] (html5 [:head [:title "website fr

我发现我不能在黑色应用中加载css。 也不能更改css源文件,路由是否有问题

(ns my-web.views.common
  (:use noir.core
        hiccup.core
        hiccup.page-helpers
        ))

(defpartial layout [& content]
            (html5
              [:head
               [:title "website from noir"]
               (include-css "/css/reset.css")]
              [:body
               [:div#idnumber content]]))

你把css放在哪里?这将假定css位于
/resources/public/css/reset.css


如果你熟悉Rails和资产管道,你应该看看Dieter()。

很抱歉,我不熟悉它,我将css保存在该目录中。无论如何,它都不起作用。我不能更改该文件,或者我更改了该文件,它就是不起作用,我的chrome浏览器中除了字体和字体大小之外没有任何变化。