Note : so almost everything goes via slot props.. so we can build different looks while not having to copy same js code to another file to make a variation..
we also copy/pasted same file in othe rprojects to make it wirk slightly different
for apparel we did one version for main apparel.. and a cloud upload version for prodsys
see if you can unify everything
including any backend changes we added for cloud upload
the file upload component…. keep reimplementing it for different looks needs unifying.. it should be something like..
<div class="kws-file-upload"> <slot {prop1} {prop2} > <!--ui goes here--> </slot> <input type="file /> <!--absolutely position--> </div>
Note : so almost everything goes via slot props.. so we can build different looks while not having to copy same js code to another file to make a variation.. we also copy/pasted same file in othe rprojects to make it wirk slightly different for apparel we did one version for main apparel.. and a cloud upload version for prodsys see if you can unify everything including any backend changes we added for cloud upload