nksaraf / vinxi

The Full Stack JavaScript SDK
https://vinxi.vercel.app
MIT License
1.91k stars 77 forks source link

`vinxi build` prints output from nitro, which for the most part is incorrect in a vinxi-context #255

Open birkskyum opened 6 months ago

birkskyum commented 6 months ago

When i.e. using the static preset, and building, the console will print:

✔ You can preview this build using npx serve .output/public vinxi 5:04:16 PM

And that is not true, as running npx serve .output/public will give me a page that can't find most assets.

You have to use vinxi serve, and configure it with the right --dir and --base.