<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: '/assets',
      name: 'asset-overview',
      component: assetOverviewPage
    },
    {
      path: '/assetscreate',
      name: 'asset-create',
      component: assetDetailPage
    },
    {
      path: '/assets/detail/:id',
      name: 'asset-edit',
      component: assetDetailPage
    }
  ]
};
</script>
