😄
RemixでHot reloadするとTailWindのスタイルが崩れる問題
root.tsxで以下で正しくなる
import tailwind from "~/tailwind.css?url";
export const links: LinksFunction = () => [
{ rel: "stylesheet", href: tailwind },
];
root.tsxで以下で正しくなる
import tailwind from "~/tailwind.css?url";
export const links: LinksFunction = () => [
{ rel: "stylesheet", href: tailwind },
];
Discussion