vite-plugins
vite-plugins copied to clipboard
Adaptation of atomic CSS framework
Currently, Hono's handling of UnoCSS and Tailwind isn't very efficient. The internal processing of build and devServer plugins doesn't trigger the scanning and generation for UnoCSS and Tailwind.
To trigger UnoCSS during development, I need to include PostCSS in the vite.config. Before building, I need to manually generate the output using the Uno CLI.
This approach is also used for monolithic backend frameworks like Danjo and Rails.