niclas-timm / laravel-nextjs-starter

A Starter Kit for applications with Laravel as the API and NextJS for the Frontend
308 stars 82 forks source link

Add .env support on frontend. #12

Closed niclas-timm closed 3 years ago

niclas-timm commented 3 years ago

Added .env.local.example, which must be copied and renamed to .env.local by the user. It includes environment variables that can be accessed by react components.