47. Nâng cấp lên Angular 8
Muốn có mentor đồng hành riêng? Chọn mentor và đăng ký gói mentoring cho khóa học này.
Nội dung bài học
Hướng dẫn upgrade tại đây:
Upgrade to Angular CLI 8
-
npm install -g npm-check-updates
-
ncu
-
ncu -u
-
npm install
-
sudo npm install -g rxjs-tslint rxjs-5-to-6-migrate -p src/tsconfig.app.json
-
npm install @angular/cdk --save
-
npm i -S [email protected]
-
Change all "es6" and "es7" to "es" in your polyfills.ts and polyfills.ts (Optional). From: import 'core-js/es6/symbol'; To: import 'core-js/es/symbol';
-
First thing is you need to change your import in app.component.ts from
import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service';
to
import { BsModalRef } from 'ngx-bootstrap';
- import { ChartsModule } from 'ng2-charts/ng2-charts'; to import { ChartsModule } from 'ng2-charts';
Vui lòng đăng nhập để ghi chú
Đăng nhậpVui lòng đăng nhập để đặt câu hỏi
Đăng nhậpNội dung bài học
Yêu cầu đã được ghi nhận!
Để được cấp chứng chỉ, bạn cần hoàn thành bài kiểm tra cuối khóa.
Vui lòng làm bài ngay để admin có thể xét duyệt.