1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +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

11 lines
No EOL
545 B
Markdown

---
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