Open jaymorgan opened 10 years ago
So.. whats the right syntax?
according to Jade - Template Engine
doctype html
and for the script tags in the foot.jade file just use the src
by itself, without the type
script(src='js/app.js')
There seems to be a pull request along these lines also. I didn't look there before I posted this. Hope that helps. I have forked this repo and just fixed these issues if you want to pull it down from there.
+1 thanks jay
Jup, works! Thank you!
I think the foot.jade problem is an erroneous tab character rather than incorrect syntax... there's some hanging white space; when I deleted that it worked for me.
+1 on the doctype tip ;)
I just tried following along in the tutorial at Thinkster and as soon as I tried to initially launch the clean version with the node server I got a few jade errors.
It didn't like the doctype used and it didn't like the script tags in the footer. After I found the right syntax, it all worked.