A Laravel Nuxt template that can deploy to Vercel functions.
- This starter template is based around the idea of cretueusebiu/laravel-nuxt project starter
- This project template uses juicyfx/vercel-php and nuxt/builder under the hood (major thanks to them!)
- Make sure to read the Nuxt docs.
- Make sure to read the Laravel docs.
- Nuxt 2.14+
- Laravel 8+
- Deploys to Vercel
- Nuxt SSR
- Laravel Serverless
- Nuxt Serverless
You'll notice that in vercel.json
there is little to no environment variables that laravel and nuxt needs. You're encouraged to leave them out of version control and use Vercel's dashboard to control your environment variables. You can learn more about this here
At the time of writing juicyfx/vercel-php does not support local development. You'll have to use traditional ways of hosting a php server locally.