Update from v13 to v15
// Check the Package version
npm outdated// Update Angular from 13 to 15.2.3
1. ng update @angular/core@14 @angular/cli@14 --allow-dirty --force
2. ng update @angular/core@15 @angular/cli@15 --allow-dirty --force// Update CoreUI from 4.0.5 to 4.3.6
ng update @coreui/coreui@4.2.6 @coreui/icons-angular@4.3.16 @coreui/icons@3.0.1 @coreui/angular-chartjs@4.3.16 --allow-dirty --force
*** After the update, it needs to change below content ***
1. Delete below lines ~ in ./src/scss/styles.scss
@import "~@coreui/coreui/scss/coreui";
@import "~@coreui/chartjs/scss/coreui-chartjs";
2. add below code in scss/styles.scss
table.table tr th {
background-color: rgb(217, 217, 217) !important;
color: #676372;
border: 1px solid rgb(204, 204, 204);
border-collapse: collapse;
}
Last updated
Was this helpful?