Using different indentation for Jade

房东的猫 提交于 2019-12-06 22:14:59

问题


From this tutorial it seems that Jade requires 2-spaces tabs. Can I use another tabbing syntax with Jade?


回答1:


It's not necessary to use only two spaces for tabbing.

You can use any number of spaces (consistently) or a tab character to indent. The only quirk is you can't use both spaces and tabs at the same time, or it will give an error while compiling.

See this link Jade.




回答2:


The tab size must be 4, when I use gulp-template.



来源:https://stackoverflow.com/questions/8378471/using-different-indentation-for-jade

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!