https://github.com/top-think/think-angular
think-angular模板引擎
https://github.com/top-think/think-angular
angular php template thinkphp
Last synced: 6 months ago
JSON representation
think-angular模板引擎
- Host: GitHub
- URL: https://github.com/top-think/think-angular
- Owner: top-think
- Created: 2016-06-24T07:20:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T03:59:24.000Z (over 6 years ago)
- Last Synced: 2025-07-01T11:35:42.130Z (7 months ago)
- Topics: angular, php, template, thinkphp
- Language: PHP
- Size: 44.9 KB
- Stars: 41
- Watchers: 7
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#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