关于nancyfx使用dotliquid viewengine

时间:2016-12-21 09:37:29

标签: nancy dotliquid

我引用了Nancy.Viewengines.DotLiquidDotLiquid,但NancyFx响应中存在错误:

  

Nancy.RequestExecutionException:哦,不! ---> Nancy.ViewEngines.ViewNotFoundException:无法找到视图'索引'   目前可用的视图引擎扩展:sshtml,html,htm   检查的位置:views / Index / index-zh-CN,views / index / index,Index / index-zh-CN,Index / index,views / index-zh-CN,views / index,index-zh-CN,index

this.ViewEngines.ToList()只有Nancy.ViewEngines.SuperSimpleViewEngine.SuperSimpleViewEngineWrapper

如何为nancy设置dotliquid引擎?

0 个答案:

没有答案