Tailwind UI Toggle Component with Laravel and Alpine JS

How to implement Tailwind’s Toggle UI component with Laravel and Alpine JS in a quick app from the Mac terminal using VIM editor. Watch me stumble through VIM. I’m adding Tailwind and Alpine via CDN (as opposed to NPM) only for speed purposes and to isolate the scope - Tailwind UI Toggle. I normally use VSCode, which makes things much easier to read, but I want to improve my VIM skills and because the scope was so small (just a few lines of code), I stayed in VIM.
Back to Top