Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自由到连vendor目录都帮我们用掉了 #1

Closed
neatstudio opened this issue Sep 28, 2017 · 4 comments
Closed

自由到连vendor目录都帮我们用掉了 #1

neatstudio opened this issue Sep 28, 2017 · 4 comments

Comments

@neatstudio
Copy link

No description provided.

@billge1205
Copy link
Collaborator

vendor下的都是用户自定义的 系统库中并不会使用 源码中为demo内容 用户可自行替换和使用

@ghost
Copy link

ghost commented Sep 28, 2017

vendor 是composer使用到的目录,用户使用第三方类库会拉取代码到这个目录,这是没考虑到composer的用户。

@billge1205
Copy link
Collaborator

可以把vendor目录删除 对系统没有什么影响
另外可以直接将第三方库放入vendor目录下 保持文件名和类名一致的话 Biny中也会完成自动加载
当然,并不能完全替代composer

@billge1205
Copy link
Collaborator

仔细考虑了下 是我考虑的不够 已经将用户自定义库改名为extends 谢谢大家提出的意见

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants