S
SolidJS2mo ago
voxel8

Does SolidStart have a function like basePath of nextjs?

I want to deploy SolidStart to a domain subpath. https://nextjs.org/docs/app/api-reference/next-config-js/basePath
next.config.js Options: basePath | Next.js
Use basePath to deploy a Next.js application under a sub-path of a domain.
2 Replies
Birk Skyum
Birk Skyum2mo ago
Yes, it's set as server.baseURL in the app.config.ts
Birk Skyum
Birk Skyum2mo ago
And for previewing a built, you'd use the --base of the vinxi serve as shown here
CLI | Vinxi
Vinxi Documentation