Why Nostr? What is Njump?
2024-07-31 20:59:25

Dave on Nostr: #laravel Interesting. Having to build all the CSS/JS into a bundle for serving with ...

#laravel Interesting. Having to build all the CSS/JS into a bundle for serving with Vite means that if I try to dynamically add a class with something like:

$(element).addClass('size-8')

...if I haven't used that class before in the static HTML of the blades it just will not work. I just had to make a dummy, non-visible <div class="size-8"> to get the dynamic assignment to work.

🤦‍♂️
Author Public Key
npub1rcnr0tt3mdzn0zkksz2pzhc39rxn90wmt5yqll2y7dgc73vre0asc2dw4h