Plugins and Presets | vue create -- preset
PluginsVueCLIusesaplugin-basedarchitecture.Ifyouinspectanewlycreatedprojectspackage.json,youwillfinddependenciesthatstartwith@vue/cli-plugin-.Pluginscanmodifytheinternalwebpackconfigurationandinjectcommandstovue-cli-service.Mostofthefeatureslistedduringtheprojectcreationprocessareimplementedasplugins.ThepluginbasedarchitecturemakesVueCLIflexibleandextensible.Ifyouareinterestedindevelopingaplugin,checkoutthePluginDevelopmentGuide[1].TIPYoucaninstallandmanagePluginsusingtheGUIwiththevueuicomma...
PluginsVue CLI uses a plugin-based architecture. If you inspect a newly created projects package.json, you will find dependencies that start with @vue/cli-plugin-. Plugins can modify the internal webpack configuration and inject commands to vue-cli-service. Most of the features listed during the project creation process are implemented as plugins.
The plugin based architecture makes Vue CLI flexible and extensible. If you are interested in developing a plugin, check out the Plugin Development Guide[1].
TIP
You can install and manage Plugins using the GUI with the vue ui command.
Installing Plugins in an Existing ProjectEach CLI plugin ships with a generator (which creates files) and a runtime plugin (which tweaks the core webpack config and injects commands). When you use vue create to create a new project, some plugins will be pre-installed for you based on your feature selection. In case you want to install a plugin into an alre...