pug模板引擎(原jade)之 继承

pug支持使用 block 和 extends 关键字进行模板的继承。一个称为“块”的代码块,可以被子模板覆盖,替换

posted @ 2021-05-18 19:09  zmztyas  阅读(65)  评论(0编辑  收藏  举报