juicyfx / vercel-examples

📦 Example projects using Vercel platform. Using Node.js, PHP and others.
https://f3l1x.io
MIT License
318 stars 150 forks source link

Update Laravel using latest version and assets deployment example #127

Open cmizzi opened 1 year ago

cmizzi commented 1 year ago

This PR deploys a fresh Laravel 10.x installation, with complete examples and documentation about how to deploy a sample application to Vercel with custom assets (CSS/JS). This example bypasses vercel-php for assets by using vercel-static runtime to serve quickly assets.

An endpoint is available to test the static files: /vercel. It will load CSS and JS bundles (TailwindCSS).