How I created WPBingo using Vue.js, Tailwind CSS, and the WP REST API
summary
Built a playable WPBingo web app that generates one board from ~70 possible squares, pulls 24 tiles (center free), and uses localStorage so a single server request seeds the game and it keeps working offline. Front end uses Vue.js (30 KB runtime, reactive components), styling via Tailwind CSS utility classes, and PHP registers a custom REST endpoint (WP-CLI scaffolded plugin) to return randomized squares; scoring uses predefined index arrays to detect five-in-a-row and it works live.
AI-written summary · about
chapters (15)
- 0:00Introduction and overview
- 1:10What this talk is not
- 2:34Origin of WP Bingo idea
- 3:41Technologies and goals
- 6:08Why Vue.js over React
- 9:15Vue.js basics and reactivity
- 13:26CSS methodologies and Tailwind
- 20:32Recap of goals and learning
- 21:13Vue.js data and markup in WP Bingo
- 23:41Local storage implementation
- 26:34Atomic CSS with Tailwind
- 28:00Scoring a bingo game
- 30:29WordPress REST API setup
- 33:57Additional resources and wrap-up
- 34:39Q&A and closing
