Skip to content

Instantly share code, notes, and snippets.

View kebalicious's full-sized avatar
🪡
inventing something new

Kebal kebalicious

🪡
inventing something new
View GitHub Profile
@ganapativs
ganapativs / iTerm2 + oh-my-zsh + Pure theme + zsh plugins setup.md
Last active April 13, 2025 06:31
iTerm2 + oh-my-zsh + Pure theme + zsh plugins setup

Converting Tailwind UI Alpine transitions to Vue transitions

After you copy a component from the Tailwind UI library and begin to adapt it from Vue JS to Alpine JS .. you may wonder what to do about the transitions. As I'm exploring this myself, I am documenting it for others in the same boat.

Things to be aware of:

  • Alpine calls the beginning and ending states "start" & "end"
  • Vue calls the beginning and ending states "from" and "to"
  • Alpine has inline "directives" ie x-transition:enter="classes"
  • Vue has a wrapper component that applies classes to the child
  • Alpine applies the classes you pass it for each state, :enter-start="class"
@devhammed
devhammed / countries.json
Last active April 22, 2025 09:50
Countries with Name, Dial Code, Emoji Flag and ISO Code
[
{
"name": "Afghanistan",
"flag": "🇦🇫",
"code": "AF",
"dial_code": "+93"
},
{
"name": "Åland Islands",
"flag": "🇦🇽",
@kcak11
kcak11 / App.md
Last active April 15, 2025 11:32
Country Codes

Country Codes

List of all Country Codes (ISO & Dialing) sorted in alphabetical order.