New Remix Vite deployed but assets 404 Not Found

I installed new Remix Vite Cloudflare Template.
This doesn’t support Wrangler but only Pages connect with Git Repository.

Normally Vite use dist but this one use build folder to as build output directory.

One of example Tailwindcss style.
In development, all style show right, but in live style disappeared.
I looked into network tap and found out except …pages.dev, all other assets 404 Not Found.

In Cloudflare deploy details show all assets uploaded.

Anyone has solution for this?

2 Likes

See here: Remix + Vite: assets not generated in /public