This extension for Visual Code It is possible with minimal actions to generate components for the Vue JS framework. It is possible to use several templates, select or enter a name and select or enter a path to create a partner. These functions can be configured in the configuration file.
Access to the extension functions is possible from the command palette (ctrl + shift + P).
The main function of the extension is the generation of components from templates. Templates can be general (global) or local, existing in a particular project and not available from others. Generation of templates is available under the item in the menu "generator-vue-components: new component".
In the extension, template management functions are implemented, as well as creating new ones and opening them for changes. These functions are available under the item in the menu "generator-vue-components: options" and the corresponding sub-items "Create a new template" and "Modify an existing template".
To save local settings for the project, you can use the local configuration file. This option is available from the menu item "generator-vue-components: options" and the sub-item "open the file config.json". If there is no file, it will be created.
To generate a Vue component file:
Structure of config.json settings file
The source code is available on https://github.com/idushii/generator-vue-components