You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a remote preset that uses a 3rd party plugin that I created for my company. It uses a predefined config for the default Vue cli plugins and then should allow to make some customizations from the 3rd party plugin. The current way it works is that all the default plugins are installed, and then my 3rd party plugin. However, I discovered it would fail, because the prompts are not executed.
The ideal workflow would be like this: the developer that uses the preset executes the vue create command and a default Vue app is created with predefined default plugins and it's configuration. When the default plugins finish installing, the prompts from the 3rd party plugin would still execute so the app can be customized to the few options my company needs.
Just throwing an alternative approach into the ring. Maybe we could check if:
a) the custom plugin has no config passed in the preset
b) the custom plugin has prompts.js
if a && b, then present the user with prompts for that plugin?
I'm facing a similar issue atm and the workaround is that the plugins aren't
listed in the preset, but users add them manually via npm and vue invoke (or simply vue add)
What problem does this feature solve?
I have created a remote preset that uses a 3rd party plugin that I created for my company. It uses a predefined config for the default Vue cli plugins and then should allow to make some customizations from the 3rd party plugin. The current way it works is that all the default plugins are installed, and then my 3rd party plugin. However, I discovered it would fail, because the prompts are not executed.
The ideal workflow would be like this: the developer that uses the preset executes the vue create command and a default Vue app is created with predefined default plugins and it's configuration. When the default plugins finish installing, the prompts from the 3rd party plugin would still execute so the app can be customized to the few options my company needs.
My remote preset looks like this:
What does the proposed API look like?
I purpose that the plugin config allows for an flag that can be set, which will (when set to true) still execute the prompts.
The text was updated successfully, but these errors were encountered: