Deploying a VITE+Solid app
Hi,
I have been trying to deploy a SPA made using Vite + Solid for production. I wanted to create docker images for easy deployment. I already have nix setup for my development environment. I have my docker setup like follows:
I am currently using CapacitorJS along with these to export for ios and android platforms as well(
I do have
Right now, I am having a problem where
I have been trying to deploy a SPA made using Vite + Solid for production. I wanted to create docker images for easy deployment. I already have nix setup for my development environment. I have my docker setup like follows:
I am currently using CapacitorJS along with these to export for ios and android platforms as well(
bunx cap sync). My end goal is to create a PWA from this codebase. I do have
index.html in the root which loads src/index.tsx using <script></script> that has the render function. The application works perfectly fine when I do bun dev to build and serve for development.Right now, I am having a problem where
bunx vite preview and serving through nginx serves me only a white blank screen. I can see small activity in the network tab but no ERROR at all. Please see the pictures.

