import Vue from 'vue'
import CampDetails from './components/camp-details'

new Vue({
    el: '#camp-details',
    render(h) {
        return h(CampDetails, { props: this.$el.dataset } );
    },
});

@@ -72,43 +72,227 @@
 s'%0A%0A
-new Vue(%7B%0A    el: '#camp-details',%0A
+const vueApps = %7B%0A    'camp-details': CampDetails,%0A%7D;%0A%0Afor (let id in vueApps) %7B%0A    if (!vueApps.hasOwnProperty(id)) continue;%0A    if (document.getElementById(id)) %7B%0A        new Vue(%7B%0A            el: '#' + id,%0A        
     
@@ -311,16 +311,24 @@
         
+     
+   
 return h
@@ -328,27 +328,27 @@
 eturn h(
-CampDetails
+vueApps%5Bid%5D
 , %7B prop
@@ -372,19 +372,41 @@
 et %7D
- 
 );%0A    
-%7D,%0A%7D);
+        %7D%0A        %7D);%0A    %7D%0A%7D
 %0A

Make root component handling more generic