Twitter bootstrap 带有jade模板引擎的Twitter引导程序不适用效果
我正在尝试将twitter css应用到我的jade视图中,但是效果没有显示,当我检查控制台时,似乎浏览器无法获得css,它列出了404,但我确信目录列表是正确的,可能是什么问题Twitter bootstrap 带有jade模板引擎的Twitter引导程序不适用效果,twitter-bootstrap,pug,Twitter Bootstrap,Pug,我正在尝试将twitter css应用到我的jade视图中,但是效果没有显示,当我检查控制台时,似乎浏览器无法获得css,它列出了404,但我确信目录列表是正确的,可能是什么问题 !!! 5 html(lang='en') head title title link(rel='stylesheet', href='/static/css/bootstrap.css', type='text/css') body p The open items are as foll
!!! 5
html(lang='en')
head
title title
link(rel='stylesheet', href='/static/css/bootstrap.css', type='text/css')
body
p The open items are as follows:
table.table.table-striped
tr
td "a"
td "a1"
tr
td "b"
td "b1"
script(src='/static/js/jquery-2.0.3.min.js')
script(src='/static/js/bootstrap.js')
你能在服务器上声明静态文件的地方发布代码吗?你知道了吗?或者干脆放弃站点?这是node.js路由的问题,而不是pug或bootstrap。建议关闭,因为此问题不符合MCVE。