TanStackT
TanStack4mo ago
14 replies
then-purple

No client assets in production

Hi all, I am new to TanStack, and I am using TanStack Start with SolidJS to build a web app. I am using TailwindCSS for styling, and in development, everything works as expected. However, the output from build does not work. I see a "server" and a "client" directory in "dist", so I run the file "dist/server/server.js" with bun. The app still works, but there is no styling. When I check the networks, all the client assets such as css files are not found. Could you show me how to run the build correctly? I think this is not the correct way to run the build, but there is no document about this,
Was this page helpful?