comment faites-vous le lien css à un jade fichier?
Je suis en train d'essayer de lier normalize.css
mais sa ne marche pas (à l'aide de socket express)
html
head
title= "Real time web chat"
link(href='/css/normalize.css')
script(src='/chat.js')
script(src='/socket.io/socket.io.js')
script(src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js')
body
#content(style='width: 100%; height: 600px; margin: 0 0 20px 0; border: solid 1px #999; overflow-y: scroll;')
.controls
| Name:
input#name(style='width:350px;')
input#field(style='width:350px; display: inline; margin-left -90px;')
input#send(type='button', value='send')
Vous devez vous connecter pour publier un commentaire.
Vous avez besoin
rel
normalize.css
doit être en `public/css/'.rel=stylesheet
a été la solution pour moi. Merci