Tested on Laravel Forge provisioned server with Ubuntu 22, PHP 8.3 and 8.4
php -r 'print_r(Imagick::getVersion());'
php8.3 -r 'print_r(Imagick::getVersion());'
php8.4 -r 'print_r(Imagick::getVersion());'Tested on Laravel Forge provisioned server with Ubuntu 22, PHP 8.3 and 8.4
php -r 'print_r(Imagick::getVersion());'
php8.3 -r 'print_r(Imagick::getVersion());'
php8.4 -r 'print_r(Imagick::getVersion());'| setopt extended_glob | |
| for img in *.(#i)(jpg|jpeg|png) | |
| do | |
| if [ -f "$img" ]; then | |
| name="${img%.*}" | |
| if magick "$img" -strip -quality 60 -define heic:avif-speed=0 -define heic:subsample=420 "${name}.avif" | |
| then | |
| echo "🌇 Converted: $img -> ${name}.avif" |
| bun install --frozen-lockfile && bun run build |
| <template> | |
| <svg> | |
| <use :href="symbolId" /> | |
| </svg> | |
| </template> | |
| <script> | |
| export default { | |
| props: ['icon'], |
| <template> | |
| <svg v-bind="svgAttributes" v-html="svgContent"></svg> | |
| </template> | |
| <script> | |
| export default { | |
| props: ['icon'], | |
| data() { | |
| return { |
| <template> | |
| <svg | |
| v-bind="svgAttributes" | |
| v-html="svgContent" | |
| > | |
| </svg> | |
| </template> | |
| <script> | |
| export default { |
| @layer utilities { | |
| .pb-safe { | |
| padding-bottom: env(safe-area-inset-bottom); | |
| } | |
| } |