问题
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