<template>
  <router-view></router-view>
</template>

<script>
  import assetOverviewPage from './asset-overview-page.vue';
  import assetDetailPage from './asset-detail-page.vue';

  export default {
    name: 'assets',
    children: [
      {
        path: '',
        name: 'asset-overview',
        component: assetOverviewPage
      },
      {
        path: 'create',
        name: 'asset-create',
        component: assetDetailPage
      },
      {
        path: 'detail/:id',
        name: 'asset-edit',
        component: assetDetailPage
      }
    ]
  };
</script>
