taro templateFn is not a function

编译报错

原因 版本为

 需要升级到3.1

cnpm install -g @tarojs/cli@3.1.0
原文地址:https://www.cnblogs.com/GoTing/p/14850424.html