{"size": 657, "ext": "js", "max_stars_repo_path": "resources/js/router/modules/products.js", "max_stars_repo_name": "ferater/laravue", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/js/router/modules/products.js", "max_issues_repo_name": "ferater/laravue", "max_issues_repo_issues_event_min_datetime": "2021-03-10T04:20:52.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T22:16:46.000Z", "max_forks_repo_path": "resources/js/router/modules/products.js", "max_forks_repo_name": "ferater/laravue", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 21.9, "max_line_length": 65, "alphanum_fraction": 0.5616438356}
import Layout from '@/layout';

const productsRoutes = {
  path: '/products',
  component: Layout,
  redirect: '/products/index',
  name: 'Products',
  meta: {
    title: 'products',
    icon: 'layout',
    permissions: ['view menu element ui'],
  },
  children: [
    {
      path: 'products',
      name: 'products',
      component: () => import('@/views/products/index'),
      meta: { title: 'products', icon: 'form' },
    },
    {
      path: 'categories',
      component: () => import('@/views/categories/index'),
      name: 'Icons',
      meta: { title: 'categories', icon: 'icon', noCache: true },
    },
  ],
};

export default productsRoutes;
