generator-thinkphp
generator-thinkphp copied to clipboard
thinkphp:space 默认下是 app 目录?!
如果我默认下是 ./ 目录,这样 yo 就安装错位置了:(
啊…我预设的命令都是默认在yo thinkphp生成的项目中运行的…
你这种情况修改generators/space/index.js中的/app
为/
就好啦
现在还只是测试版本,很多不完善啦,欢迎提修改意见,更欢迎pull request 啦^_^
新的版本已经恢复默认的Thinkphp目录啦~
ThinkPHP 默认其实也不是太好,最好可以读取index.php 的 APP_PATH,或者有个 config 文件用来配置 yoThink 的搭建。
On Wednesday, December 16, 2015, Disney [email protected] wrote:
新的版本已经恢复默认的Thinkphp目录啦~
— Reply to this email directly or view it on GitHub https://github.com/discountry/generator-thinkphp/issues/2#issuecomment-165044112 .
Weijing Jay Lin
其实用 thinkphp:module 更贴切
2015-12-16 1:22 GMT-08:00 Disney [email protected]:
新的版本已经恢复默认的Thinkphp目录啦~
— Reply to this email directly or view it on GitHub https://github.com/discountry/generator-thinkphp/issues/2#issuecomment-165044112 .
Weijing Jay Lin
@dotku 嗯,好多想要的功能还没实现呢,之后再慢慢改进啦,谢谢关注
加油 💪
2015-12-24 1:34 GMT-08:00 Disney [email protected]:
@dotku https://github.com/dotku 嗯,好多想要的功能还没实现呢,之后再慢慢改进啦,谢谢关注
— Reply to this email directly or view it on GitHub https://github.com/discountry/generator-thinkphp/issues/2#issuecomment-167077495 .
Weijing Jay Lin