Vue.js: The Composition API
Learn Vue.js 3 and the new Composition API, TypeScript, and Unit Testing by building a social blogging app, complete with code block, syntax highlighting, users and a post timeline.
Demo of what we build • Course overview • Get started for free
Section 1: Composition API and Testing Basics
8 lectures (45min)
Prerequesite Knowledge and Housekeeping
Free6:04
Creating the Timeline Component
Free6:13
Our First Test
Free6:11
Reactive Updates using ref
Free3:53
Synchronous Tests, Asynchronous Vue
Access6:01
Getting Started with TDD
Access3:31
Filtering Posts with Computed
Access6:51
Refactoring with Confidence
Access6:27
Section 2: Suspense and Building a Flux Store
7 lectures (33min)
Load States with Suspense
Access6:39
Data Structures and Designing Flux Store
Access6:19
Loading Posts with Axios
Access2:41
The useStore hook
Access4:05
Mocking the Backend
Access3:32
Routing with Vue Router
Access3:27
Updating the tests
Access6:41
Section 3: Vue Router, Creating Posts with Markdown and Syntax Highlighting
8 lectures (36min)
The New Post Route and Page
Access3:06
Defining the Post Writer
Access4:33
Template Refs and Content Editable
Access4:33
Rendering Markdown
Access3:58
Markdown to HTML with Marked
Access5:51
Syntax Highlighting and Performance Improvements
Access6:38
Emitting a Submit Event
Access4:10
Testing the Post Writer
Access4:10
Section 4: User Sign Up, Validation and Reuseble Components
8 lectures (51min)
Adding a Post to the Store
Access6:20
The useModal Composable
Access6:23
Custom Form Input with v-model
Access5:24
Framework Agnostic Validation
Access8:35
Creating the Signup Form
Access5:07
Form Validation and Submission
Access5:00
Better Plugins with Provide and Inject
Access6:50
Mocking Modules with Jest
Access8:04
Section 5: Edit Posts, Authentication and Authorization
10 lectures (51min)
Intro to Authentication and Authorization
Access1:53
Adding Users to the Store
Access5:56
Dynamic Components
Access4:36
Optimizing with markRaw
Access3:05
Vue Router Navigation Guards
Access5:28
Accessing the Route with useParams
Access7:28
Setting up the Edit Post Page
Access4:31
Fixing Two Subtle Bugs
Access5:32
Conditional Edit Button
Access1:48
Testing the Post Authentication and Authorization
Access11:12
Section 6: Finishing the Application
5 lectures (22min)
Styling the Show Post Page
Access4:07
Editing Posts
Access3:27
Testing in Isolation
Access5:30
Tests and Stub Components
Access3:47
Deploying to Production and Next Steps
Access5:52