Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support provision of additional configuration through a JSON file. It includes dedicated context mappings, custom descriptions , custom variables and description prefixes for the templates. E.g.: ``` { "templateSetName": "Vue", "contextMapping": { "vue-script-vuex": "VUE_COMPONENT_DESCRIPTOR", "vue-script-router": "VUE_SCRIPT", "vue-script": "VUE_SCRIPT", "vue-template": "VUE_TEMPLATE", "vue": "VUE_TOP_LEVEL" }, "templates": { "vanim": { "description": "Vue transition component with JavaScript hooks" }, "vanimhook-js": { "descriptionPrefix": "Vue", "context": [ "VUE_COMPONENT_DESCRIPTOR" ] }, "vprops": { "variables": { "Number": { "name": "type", "defaultValue": "Number" }, "0": { "name": "default", "defaultValue": "0" } }, "context": [ "VUE_COMPONENT_DESCRIPTOR" ] }, "vsrc": { "descriptionPrefix": "Vue" } } } ```
- Loading branch information