It is hard a bit to maybe see whole picture but if I understand it at least slightly - here is one example how to combine smaller bits into one master template using the teleport
[{"id":"50165225957c11fa","type":"ui-template","z":"50af7128c761b2cb","group":"f4672a59c3c79c7f","page":"","ui":"","name":"master template","order":4,"width":"6","height":"4","head":"","format":"<template>\n<div class=\"master-slot-wrapper\">\n <div id=\"slot_1\"></div>\n <div id=\"slot_2\"></div>\n <div id=\"slot_3\"></div>\n <div id=\"slot_4\"></div>\n</div>\n \n</template>\n\n<script>\n export default {\n data() {\n return {\n \n }\n },\n watch: {\n \n },\n computed: {\n \n },\n methods: {\n \n },\n mounted() {\n // send event to dedicated event node to notify that master template is mounted\n // at this point teleporting to here is possible\n this.$socket.emit('ui-event', 'e152c365e8f8f0e1', {payload:\"master-template-mounted\"})\n },\n unmounted() {\n \n }\n }\n</script>\n<style>\n .master-slot-wrapper{\n display:grid;\n grid-template-columns:1fr 1fr;\n grid-template-rows:1fr 1fr;\n }\n</style>","storeOutMessages":true,"passthru":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":860,"y":840,"wires":[[]]},{"id":"e152c365e8f8f0e1","type":"ui-event","z":"50af7128c761b2cb","ui":"cab2761fcbe60245","name":"","x":650,"y":700,"wires":[["1908688521f4ed6d","63d2ea23fda602f5","a0ba30fc5b0beeb8","6a13996bf1ffe12a","5acbadfac769a8e1"]]},{"id":"1908688521f4ed6d","type":"debug","z":"50af7128c761b2cb","name":"debug 11","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":840,"y":600,"wires":[]},{"id":"63d2ea23fda602f5","type":"ui-template","z":"50af7128c761b2cb","group":"f4672a59c3c79c7f","page":"","ui":"","name":"teleportable 1","order":5,"width":0,"height":0,"head":"","format":"<template>\n <Teleport v-if=\"masterMounted && selfMounted\" to=\".master-slot-wrapper #slot_1\">\n Template 1 content\n </Teleport>\n</template>\n\n<script>\n export default {\n data() {\n return {\n masterMounted:false,\n selfMounted:false \n }\n },\n watch: {\n msg: function () {\n if(this.msg?.payload == \"master-template-mounted\"){\n this.masterMounted = true \n }\n }\n },\n \n mounted() {\n this.selfMounted = true\n },\n unmounted() {\n \n }\n }\n</script>\n<style>\n\n .teleported-template {\n display:none !important;\n }\n</style>","storeOutMessages":true,"passthru":true,"resendOnRefresh":true,"templateScope":"local","className":"teleported-template","x":860,"y":660,"wires":[[]]},{"id":"a0ba30fc5b0beeb8","type":"ui-template","z":"50af7128c761b2cb","group":"f4672a59c3c79c7f","page":"","ui":"","name":"teleportable 2","order":1,"width":0,"height":0,"head":"","format":"<template>\n <Teleport v-if=\"masterMounted && selfMounted\" to=\".master-slot-wrapper #slot_2\">\n Template 2 content\n </Teleport>\n</template>\n\n<script>\n export default {\n data() {\n return {\n masterMounted:false,\n selfMounted:false \n }\n },\n watch: {\n msg: function () {\n if(this.msg?.payload == \"master-template-mounted\"){\n this.masterMounted = true \n }\n }\n },\n \n mounted() {\n this.selfMounted = true\n },\n unmounted() {\n \n }\n }\n</script>\n<style>\n\n .teleported-template {\n display:none !important;\n }\n</style>","storeOutMessages":true,"passthru":true,"resendOnRefresh":true,"templateScope":"local","className":"teleported-template","x":860,"y":700,"wires":[[]]},{"id":"6a13996bf1ffe12a","type":"ui-template","z":"50af7128c761b2cb","group":"f4672a59c3c79c7f","page":"","ui":"","name":"teleportable 3","order":2,"width":0,"height":0,"head":"","format":"<template>\n <Teleport v-if=\"masterMounted && selfMounted\" to=\".master-slot-wrapper #slot_3\">\n Template 3 content\n </Teleport>\n</template>\n\n<script>\n export default {\n data() {\n return {\n masterMounted:false,\n selfMounted:false \n }\n },\n watch: {\n msg: function () {\n if(this.msg?.payload == \"master-template-mounted\"){\n this.masterMounted = true \n }\n }\n },\n \n mounted() {\n this.selfMounted = true\n },\n unmounted() {\n \n }\n }\n</script>\n<style>\n\n .teleported-template {\n display:none !important;\n }\n</style>","storeOutMessages":true,"passthru":true,"resendOnRefresh":true,"templateScope":"local","className":"teleported-template","x":860,"y":740,"wires":[[]]},{"id":"5acbadfac769a8e1","type":"ui-template","z":"50af7128c761b2cb","group":"f4672a59c3c79c7f","page":"","ui":"","name":"teleportable 4","order":3,"width":0,"height":0,"head":"","format":"<template>\n <Teleport v-if=\"masterMounted && selfMounted\" to=\".master-slot-wrapper #slot_4\">\n Template 4 content\n </Teleport>\n</template>\n\n<script>\n export default {\n data() {\n return {\n masterMounted:false,\n selfMounted:false \n }\n },\n watch: {\n msg: function () {\n if(this.msg?.payload == \"master-template-mounted\"){\n this.masterMounted = true \n }\n }\n },\n \n mounted() {\n this.selfMounted = true\n },\n unmounted() {\n \n }\n }\n</script>\n<style>\n\n .teleported-template {\n display:none !important;\n }\n</style>","storeOutMessages":true,"passthru":true,"resendOnRefresh":true,"templateScope":"local","className":"teleported-template","x":860,"y":780,"wires":[[]]},{"id":"f4672a59c3c79c7f","type":"ui-group","name":"Master","page":"b55c3e3640901741","width":"6","height":"1","order":1,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"cab2761fcbe60245","type":"ui-base","name":"My Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control","ui-template"],"showPathInSidebar":false,"showPageTitle":false,"navigationStyle":"temporary","titleBarStyle":"fixed"},{"id":"b55c3e3640901741","type":"ui-page","name":"Test Page","ui":"cab2761fcbe60245","path":"/test","icon":"home","layout":"grid","theme":"0819910104699eae","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":4,"className":"","visible":"true","disabled":"false"},{"id":"0819910104699eae","type":"ui-theme","name":"Site Dark","colors":{"surface":"#141414","primary":"#32a00a","bgPage":"#121212","groupBg":"#141414","groupOutline":"#333333"},"sizes":{"density":"default","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"12px","widgetGap":"12px"}}]