CSS modules support
I have noticed manual linking of css files to ensure styles load before content.
import stylesUrl from "./styles.css?url"
links: () => [{ rel: 'stylesheet', href: stylesUrl }]
But ?url
is not supported by Vite with CSS modules. In the end the styles are loaded, but there is initial flash of unstyled content. I believe SolidStart doesn't have this problem, so I hope this is possible with vinxi. But SolidStart doesn't seem to need to explicitly link stylesheets.
Are CSS modules something you intent to support?0 Replies