Category: Snippets
Snippet 5: Creating a simple, but cool delete button with Alpine.js and TailwindCSS
Sometimes ideas pop into my head that I don't immediately need, but I think are a good exercise. So I carve out 15 minutes of my day to code an example to learn and save to my library of components for future use.
Anthony Rappa
Snippet 2: Adding a UUID Trait to auto-populate uuid columns on model create
If you ever have the need for a UUID column on your models, you may as well use a trait to populate them in case you need the same functionality on other models in the future.
Anthony Rappa