import 'product_component.dart';
import 'product_category_component.dart';
import 'product_detail_component.dart';
-import 'product_service.dart';
-import 'product_category_service.dart';
+
+import 'tables_component.dart';
@Component(
selector: 'my-app',
MaterialLayout
],
providers: const [
- ProductService,
- ProductCategoryService,
ROUTER_PROVIDERS
]
)
path: '/product/:id',
name: 'ProductDetail',
component: ProductDetailComponent
+ ),
+ const Route(
+ path: '/tables',
+ name: 'Tables',
+ component: TablesComponent
)
])