Open kevlened opened 3 weeks ago
Related-to https://github.com/emilkowalski/sonner/issues/386
Granted, this should be seen as a workaround, since the css is already bundled in the js. The root cause of Remix's spotty support for sonner is unclear, but referencing the css directly works for me:
import sonnerStyles from 'sonner/dist/styles.css?url' export const links: LinksFunction = () => [ { rel: 'stylesheet', href: sonnerStyles }, ]
sonner/dist/styles.css
N/A
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Also see https://github.com/emilkowalski/sonner/issues/246
Issue:
Related-to https://github.com/emilkowalski/sonner/issues/386
Granted, this should be seen as a workaround, since the css is already bundled in the js. The root cause of Remix's spotty support for sonner is unclear, but referencing the css directly works for me:
What has been done:
sonner/dist/styles.css
Screenshots/Videos:
N/A