1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-use-the-at-production-blade-directive-to-load-specific-scripts-only-in-production-mode.md
2022-01-14 19:18:35 +01:00

545 B

title tweet_id thread_slug author_username images created_at slug
You can use the @production Blade directive to load specific scripts only in production mode 1482036552242892803 weekly-thread-2022-02 ecrmnn
https://pbs.twimg.com/media/FI_vAnAWQAEddIH.jpg
2022-01-14T17:07:03+00:00 you-can-use-the-at-production-blade-directive-to-load-specific-scripts-only-in-production-mode

The @.production blade directive makes it super easy to load e.g. Google Analytics or other stuff when your Laravel app is in production mode