compartilhe seu arquivo de configuração da vercel..o vercel.json
Em resposta a Deploy de Laravel + Vite na Vercel
1
1
"regions": [
"hnd1"
],
"builds": [
{
"src": "/api/index.php",
"use": "[email protected]"
},
{
"src": "/public/**",
"use": "@vercel/static"
}
],
"routes": [
{
"src": "/build/assets/(.*)",
"dest": "/public/build/assets/$1"
},
{
"src": "/favicon.ico",
"dest": "/public/favicon.ico"
},
{
"src": "/robots.txt",
"dest": "/public/robots.txt"
},
{
"src": "/(.*)",
"dest": "/api/index.php"
}
],
"env": {
"APP_NAME": "Laravel Vercel",
"APP_DEBUG": "false",
"APP_CONFIG_CACHE": "/tmp/config.php",
"APP_EVENTS_CACHE": "/tmp/events.php",
"APP_PACKAGES_CACHE": "/tmp/packages.php",
"APP_ROUTES_CACHE": "/tmp/routes.php",
"APP_SERVICES_CACHE": "/tmp/services.php",
"LIVEWIRE_MANIFEST_PATH": "/tmp/livewire-components.php",
"CACHE_DRIVER": "array",
"LOG_CHANNEL": "stderr",
"SESSION_DRIVER": "cookie",
"VIEW_COMPILED_PATH": "/tmp"
}
}