/**
 * Created through mkmodule
 */

import { NgModule }             from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { ProductView }          from './partial/view.product'

import { AppHelper }            from '@k-settings/app-helper'

// // Guards
// import { UserGuard } from '@k-core/guards/guard.User'


const routes: Routes = [
    {
        path: ':productkey',
        component: ProductView
    }
    // {
    //     path: '',
    //     children: [
    //         { path: '',  component: ProductView  },
    //         { path: ':fabric/:frame', component: ProductView },
    //         { path: ':fabric', component: ProductView },
    //     ]
    // }

]


@NgModule({
    imports: [
        RouterModule.forChild(routes)
    ],
    exports: [
        RouterModule
    ]
})

export class productRouting {}