Skip to content

Commit b9a594e

Browse files
committed
fix: actualizar la documentación para incluir soporte de Angular 20 y ajustar las rutas de redirección
1 parent fe33bb2 commit b9a594e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# FORKED FROM [h2qutc/angular-material-components](https://github.com/h2qutc/angular-material-components)
22

3-
# Angular Material Extra Components (DatetimePicker, TimePicker, ColorPicker, FileInput ...) for @angular/material 7.x, 8.x, 9.x, 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 18.x, 19.x
3+
# Angular Material Extra Components (DatetimePicker, TimePicker, ColorPicker, FileInput ...) for @angular/material 7.x, 8.x, 9.x, 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 18.x, 19.x, 20.x
44

55
[![Build Status](https://travis-ci.com/h2qutc/angular-material-components.svg?branch=master)](https://travis-ci.com/h2qutc/angular-material-components)
66
[![License](https://img.shields.io/npm/l/angular-material-components.svg)](https://www.npmjs.com/package/angular-material-components)
@@ -33,6 +33,7 @@ Choose the version corresponding to your Angular version:
3333

3434
| Angular | @ngxmc/datetime-picker |
3535
| ------- | ------------------------------- |
36+
| 20 | 20.x+ |
3637
| 19 | 19.x+ |
3738
| 18 | 18.x+ |
3839
| 17 | none |

projects/datetime-picker/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Choose the version corresponding to your Angular version:
2525

2626
| Angular | @ngxmc/datetime-picker |
2727
| ------- | ------------------------------- |
28+
| 20 | 20.x+ |
2829
| 19 | 19.x+ |
2930
| 18 | 18.x+ |
3031
| 16 | 16.x+ |

src/app/app.routes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Routes } from '@angular/router';
22

33
export const APP_ROUTES: Routes = [
44
{
5-
path: 'home',
5+
path: '',
66
loadComponent: () => import('./home/home.component').then((m) => m.HomeComponent),
77
},
88
{
@@ -31,6 +31,6 @@ export const APP_ROUTES: Routes = [
3131
loadComponent: () =>
3232
import('./demo-fileinput/demo-fileinput.component').then((m) => m.DemoFileInputComponent),
3333
},
34-
{ path: '', redirectTo: '/home', pathMatch: 'full' },
35-
{ path: '**', redirectTo: '/home', pathMatch: 'full' },
34+
{ path: 'home', redirectTo: '', pathMatch: 'full' },
35+
{ path: '**', redirectTo: '', pathMatch: 'full' },
3636
];

0 commit comments

Comments
 (0)