topthink/think-angular

think angular view engine


Keywords
angular, php, template, thinkphp
License
Apache-2.0

Documentation

#think-angular

仿angularjs的php模板引擎

使用说明

此模板引擎针对能够使用angularjs的php开发者编写, 主要特点是 不需要额外的标签定义, 全部使用属性定义, 写好模板文件在IDE中不会出现警告和错误, 格式化代码的时候很整洁, 因为套完的模板文件还是规范的html

注: 一个标签上可以使用多个模板指令, 指令有前后顺序要求, 所以要注意属性的顺序, 在单标签上使用模板属性时一定要使用/>结束, 如 <input php-if="$is_download" type="button" value="下载" />, <img php-if="$article['pic']" src="{$article.pic}" /> 等等, 具体可参考手册.

安装方法

https://www.kancloud.cn/shuai/php-angular/151359

开发手册

看云文档托管平台: http://www.kancloud.cn/shuai/php-angular