In this hands-on course, you will learn how to write applications using Test-Driven Development.
You will make our own clone of the game Wordle completely from scratch! Besides learning Test Driven Development, this course will also be a great way to sharpen your skills with Vue 3 and its composition API; as well as sharpen your skills with Vitest and Vue Test Utils.
wordle.clone.demo.mov
Do note that this repository contains a series of Git Tags. Each tag represents the starting state of the code base for that respective episode.
For example, if you want to skip straight to Episode 6, you can have your codebase synchronized with mine by
doing: git checkout episode-6
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.