Hi Folks. I recently built a Ghost theme using Vite. There were some significant obstacles to getting it working correctly, but I managed to figure out what I think is a good solution. I pulled that solution out into a standalone theme as a starting point for other folks trying to do the same. It also has TailwindCSS built in (but optional), and Prism integration. There’s not much in the way of visual design; this is really just about the Vite + Tailwind integration.
I go into the rational and details of the solution here, and the code is here.
I hope some folks find this helpful! Let me know what you think.
