I wrote a custom component for a shopware plugin that I can add to the config.xml.
<component name="my-component"><name>myname</name></component>
The JS code is done but I stuck when I want to save my datastructure into the plugin config. During my google/gihub search I found monstrosities like this.$parent.$parent.$parent.actualConfigData.null[this.$attrs.name] = value;
, but this can't be the proper way to do it.
Where do I add my values in my component so that my config will be saved when the save-button is clicked? Is there probably a function for this I haven't found yet?