We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.1.0
Remix v2.1.0 Tailwind 3.3.3
Remix config
/** @type {import('@remix-run/dev').AppConfig} */ export default { ignoredRouteFiles: ['**/.*'], // appDirectory: "app", // assetsBuildDirectory: "public/build", // serverBuildPath: "build/index.js", // publicPath: "/build/", serverModuleFormat: 'esm', future: {}, sourcemap: true, tailwind: true, };
root.tsx
import stylesheet from '../tailwind.css'; export const links: LinksFunction = () => [ ...(stylesheet ? [{ rel: 'stylesheet', href: stylesheet }] : []), ]; ...
yarn run dev
Tailwind always served from the remix dev server.
The server console will display this message if tailwind is served correctly:
GET /build/_assets/tailwind-EZVXHWXN.css.map 200 - - 2.317 ms
Tailwind, even after restarting the dev server, will intermittently not work.
Browser console error:
GET https://localhost:18267/build/_assets/tailwind-I2UXTOPZ.css net::ERR_TOO_MANY_RETRIES
When this error occurs and tailwind is not loaded, the GET request does NOT appear in the server console.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Remix are you using?
2.1.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Remix v2.1.0
Tailwind 3.3.3
Remix config
root.tsx
Expected Behavior
Tailwind always served from the remix dev server.
The server console will display this message if tailwind is served correctly:
Actual Behavior
Tailwind, even after restarting the dev server, will intermittently not work.
Browser console error:
When this error occurs and tailwind is not loaded, the GET request does NOT appear in the server console.
The text was updated successfully, but these errors were encountered: