Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

koa2支持include语法吗? #19

Open
zhangzhanhe opened this issue Mar 22, 2018 · 1 comment
Open

koa2支持include语法吗? #19

zhangzhanhe opened this issue Mar 22, 2018 · 1 comment

Comments

@zhangzhanhe
Copy link

最近在用koa2和xtpl,但发现用include的时候达不到效果,也看不到什么报错信息,用法很简单,只是简单的{{include ("sub.xtpl") }},子sub.xtpl也存在。

@zhangzhanhe
Copy link
Author

找到原因了,写成{{include ("./sub.xtpl") }}就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant