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