404 in deployment with Vercel
I am trying to implement in Vercel and I can't, I configured defineConfig but nothing, here I leave images for more information.
13 Replies
You need to add preset: vercel
so?
That looks right
it should be inside
server
not start
nothing š¢
remove the custom output directory,
preset: "vercel"
generates a build output api compatible folderthanks for aswer, but not works
@Brendonovich
i config " .output/public" cause in the build log i saw this ... [success] [vinxi] Generated public .output/public
I think some logs are missing
The public folder is only one part of your app, not the whole thing
All that you need is this + the start 1.0 preset
I discovered that it is not the configurations, it is something with my project
my gooooood, was name file, i have vite.config.ts and now is app.config.ts...
The solution: add
server: {preset: "vercel"}
inside your app.config.ts
https://stackoverflow.com/questions/76219797/404-not-found-error-on-solidjs-project-deployed-to-vercel