摘要: We can create Template Helpers, which can contains some common reuseable data and libs. Then you can define a locals data in middleware: Require helpe 阅读全文
posted @ 2017-06-12 21:08 Zhentiw 阅读(284) 评论(0) 推荐(0)
摘要: If sometime you want to log out the comonent html to see whether the html render correctly, you can do : If you found that some tmeplate binding doesn 阅读全文
posted @ 2017-06-12 20:14 Zhentiw 阅读(270) 评论(0) 推荐(0)
摘要: Looking at the follow code: 1. .wapper: div with wrapper class By defualt it consider as div class if you don't wirte div, just give a class name. 2. 阅读全文
posted @ 2017-06-12 03:57 Zhentiw 阅读(592) 评论(0) 推荐(0)