我在starter-template.css中定义了一些自定义样式(例如.box4),但显然它们没有被使用。 即使我在链接中更改文件名,也没有错误消息,因为该文件不存在。
starter.jade
extends ../_bootstrap
append styles
// Custom styles for this template
link(href='../css/starter-template2.css', rel='stylesheet')
home.jade
extends jade-bootstrap/layouts/starter
block body
include ./includes/head.jade
.container
.row
.box4
答案 0 :(得分:0)
如果缺少css文件,则错误消息显然在日志中,而不是按预期在浏览器中显示。