Answers for "how to access env variables in javascript"

-1

how to access env variables in javascript

<script>

var name = '{{ env('NAME') }}';

alert(name);

</script>
Posted by: Guest on June-22-2021

Code answers related to "how to access env variables in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language