Hey all,
Quick question for anyone whose created a Custom Element.
I’m working on creating my own integration with Stripe (as I want my own UI for form elements) and so I’ve divided out functions into different custom elements I need to create.
For example I need to create a Stripe_card_form (custom element), submitCardPayment (workflow action), submitSetupIntent (workflow action), submitPaypalPayment (workflow action), etc.
My question is, can I create one Custom Element Github repo with all of these elements and workflow actions in the same custom element, or do I need to split each one up into a separate repo? Also, what would the be the correct folder/file structure to include all of the actions/elements? Would they all fall under the single wwElement.vue and ww-config.js, or do you create subfolders for different elements?
Also, I’m assuming that I can create custom workflow actions this way? (the developer docs doesn’t really address workflow actions and how to create those).
Thanks for your help.