How to use Laravel app name in blade
- 0
Hi,
I want to store the APP_NAME in a javascript variable in my blade file.
I’m using it like this:
let site_title = "{{ env('APP_NAME') }}";
but i’m getting a syntax error.
Hi,
I want to store the APP_NAME in a javascript variable in my blade file.
I’m using it like this:
let site_title = "{{ env('APP_NAME') }}";
but i’m getting a syntax error.