Closed
Description
What problem does this feature solve?
Some plugins might want to depend on other plugins. Currently, there is no way to do this.
What does the proposed API look like?
If the package.json
dependencies
of vue-cli-plugin-a
contains vue-cli-plugin-b
, then:
vue add a
will runvue add b
and thenvue add a
vue invoke a
will runvue invoke b
and thenvue invoke a
(Optionally configured bya
)
We can do this multiple deep levels.
Issues
- If
a
depends onb
andc
, what's the order ofb
andc
to be run? - What about circular dependencies?