tipsforjade
来源:互联网 发布:sql server guid 编辑:程序博客网 时间:2024/06/07 18:24
记录jade使用中遇到的一些问题,供自己来日参考,也给大家解惑
- 安装问题,应确定使用
npm install jade -g
全局安装,有时候发现安装了jade却无法使用,可能是因为没有 -g 全局安装 - 缩进问题
html和doctype都是顶格的,不然会报错 “unexpected token indent(缩进)’
doctype htmlhtml head meta body
0 0