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

在package.json中声明依赖的插件,这个将决定调用init的顺序 #144

Open
fengzilong opened this issue Apr 15, 2017 · 1 comment
Assignees
Milestone

Comments

@fengzilong
Copy link
Member

fengzilong commented Apr 15, 2017

通过插件name,推测包名,找到package.json,暂时只想到这种方式

@fengzilong fengzilong modified the milestone: 1.0.0 Apr 18, 2017
@fengzilong
Copy link
Member Author

可以在plugin上加一个实例方法dependencies() {},返回包含依赖的插件名字的数组

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

No branches or pull requests

2 participants