Đề cương khóa học
Giới thiệu
- Tổng quan về quản lý trạng thái
Tổng quan về các Tính năng Vuex
- Các thành phần (trạng thái, getters, actions, mutations)
- Tích hợp với Vue
Bắt đầu với Vuex
- Tạo một store Vuex
- Import store vào Vue
Nhận Trạng thái từ Store
- Thuộc tính tính toán (Computed property)
- Toán tử trải (Object spread operator)
Tạo một Getter
- Truy cập kiểu thuộc tính (Property-style access)
- Truy cập kiểu phương thức (Method-style access)
Commit một Mutation
- Commit kiểu đối tượng (Object-style commit)
- Reactivity rules
- Mutations trong các thành phần
Tìm hiểu về Helpers và Actions
- Phương thức Commit
- Phương thức Dispatch
- Các helper mapState và mapActions
Làm việc với Modules Vuex
- Trạng thái cục bộ của Module
- Đăng ký Module động
- Tái sử dụng Module
Khắc phục sự cố
Tóm tắt và Kết luận
Requirements
- Hiểu biết cơ bản về HTML, CSS, JavaScript và Vue
Đối tượng
- Các nhà phát triển
- Các lập trình viên
Testimonials (4)
The lessons was very interactive and the excersices was good practical
Heino - NWK Limited
Course - Laravel and Vue.js
The trainer seemed very knowledgable about Vue. I appreciated seeing his development style and learning some new concepts to try.
Adrian Borrmann - CBC/Radio-Canada
Course - Advanced Vue.js
I really like Shawn's live coding style in teaching the course. He demonstrated his practical knowledge and experience on the subject.
Nhan Nguyen - Navy Information Warfare Center - Pacific
Course - Vuetify.js
Completing the labs to add new functionality (calculator & trading labs)