express中将jade引擎换成art-template遇到的
2018-03-23 本文已影响0人
xiao_333
安装教程更换后,发现template.config报错,原来是版本的问题,安装art-template 4.x版本没有config方法,安装art-template 3.0.1版本就可以解决这个问题。
在art-template 4.x的版本中有了新的解决方法,安装express-art-template插件方式。
安装教程更换后,发现template.config报错,原来是版本的问题,安装art-template 4.x版本没有config方法,安装art-template 3.0.1版本就可以解决这个问题。
在art-template 4.x的版本中有了新的解决方法,安装express-art-template插件方式。