1.今天在写demo时老报错:
错误如下:
Error: ./1.jade:2
1|doctype
> 2| html
3| meta(charset='utf-8')
4| title pages
5| body
unexpected token "indent"
找了半天不知道自己错在了哪儿。。。。
后来发现是因为,HTML和dictype之间不用缩进,二者是平级关系!!
1.今天在写demo时老报错:
错误如下:
Error: ./1.jade:2
1|doctype
> 2| html
3| meta(charset='utf-8')
4| title pages
5| body
unexpected token "indent"
找了半天不知道自己错在了哪儿。。。。
后来发现是因为,HTML和dictype之间不用缩进,二者是平级关系!!