generator-thinkphp icon indicating copy to clipboard operation
generator-thinkphp copied to clipboard

thinkphp:space 默认下是 app 目录?!

Open dotku opened this issue 9 years ago • 6 comments

如果我默认下是 ./ 目录,这样 yo 就安装错位置了:(

dotku avatar Dec 13 '15 11:12 dotku

啊…我预设的命令都是默认在yo thinkphp生成的项目中运行的… 你这种情况修改generators/space/index.js中的/app/就好啦 现在还只是测试版本,很多不完善啦,欢迎提修改意见,更欢迎pull request 啦^_^

discountry avatar Dec 13 '15 13:12 discountry

新的版本已经恢复默认的Thinkphp目录啦~

discountry avatar Dec 16 '15 09:12 discountry

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

dotku avatar Dec 16 '15 17:12 dotku

其实用 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 avatar Dec 24 '15 01:12 dotku

@dotku 嗯,好多想要的功能还没实现呢,之后再慢慢改进啦,谢谢关注

discountry avatar Dec 24 '15 09:12 discountry

加油 💪

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

dotku avatar Dec 24 '15 21:12 dotku