报错:view engine is missing, use `RegisterView`
来源:4-3 Iris框架入门---快速入门案例
浪子也想有個家
2020-04-07
报错:view engine is missing, use RegisterView
写回答
2回答
-
Rayer
2020-06-07
在main那里new了一个app后加上
tmpl := iris.HTML("./web/views", ".html")
app.RegisterView(tmpl)还有controller那里的"movie/indexs.html"的indexs去掉s
20 -
Cap
2020-04-09
版本和课程里的一样吗?如果是最新的可以根据提示先替换下
00
相似问题