<!-- #include file="/Components/Dashboard/StatsDetail.html" -->

<script type="text/x-template" id="category">

<div>
    <div class="block-header" runat="server">
                                    <h2>{{stat.Label}}</h2>
                               </div>
                                   <div class="row">
    <stat-detail v-for="item in stat.Stats" :detail="item" :key="item.label">
    </stat-detail> 
    </div>
</div>

</script>

<script>
    Vue.component('category', {
        props: ['stat'],
        template: '#category'
    })
</script>
