Optional node-free Tailwind CSS for custom client JS modules
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript, react, tailwindcss, typescript
- Domain
- build-system, frontend
Research direction
Trace the existing esbuild binary resolution and compiled CSS auto-loading used for src/main/web and web/.compiled. Then determine where a build option can invoke the Tailwind standalone binary and produce one deterministic stylesheet with Preflight disabled. Done means the opt-in build works without Node and the generated utilities load with compiled bundles.
Written by the indexing model from the issue text.
Description
Description
Add an opt-in Tailwind CSS option for custom client JS (src/main/web) views, generated at build time without Node — by resolving the Tailwind standalone binary the same way the build already resolves the esbuild binary (an os-matched, checksummed native executable; not the npm/Node toolchain).
Proposed shape:
- A build option (off by default, e.g.
tailwind=true) runs the Tailwind standalone binary oversrc/main/web, scanning class usage, and emits one app-wide utilities stylesheet toweb/.compiled/. It is then auto-loaded with the compiled bundles (the same mechanism that auto-loads compiled CSS). - Prefer Tailwind v4 (CSS-first config): the input is a small CSS file (
@import "tailwindcss"+@source "./**/*.{js,jsx,ts,tsx}"), so there is notailwind.config.js— a better fit for the no-Node, Maven-resolved model. - Scoping (important): ship utilities only, with Preflight (the global CSS reset) disabled by default — Preflight would restyle the platform's own UI. Offer an optional utility class prefix for extra collision safety.
- Limits: only static class strings are detected (dynamically built names like
`bg-${x}`are not); the generated stylesheet's load order must be deterministic.
Keeps the platform's "native esbuild binary, no Node at build" promise.
Reason
Tailwind is the dominant utility-first styling approach in modern React and the main remaining styling gap for custom React views. It matters most for two cases: teams standardized on Tailwind, and Tailwind-based component libraries (shadcn/ui-style). It is also relevant for AI-generated UIs — LLMs are highly fluent in Tailwind. Static fixed-CSS frameworks (e.g. Bootstrap) already work today by loading their stylesheet via onWebClientInit; only build-time-generated frameworks (Tailwind/UnoCSS) are missing. Estimated effort is small-to-medium (a standalone-binary resolver + one build invocation + the no-preflight scoping policy + docs).
- Dominant language
- Java
- Stars
- 214
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lsfusion/platform
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
All issues in lsfusion/platform
Similar issues
-
account assessment course feature lecture
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
app:learninggoalhub enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
PropertyResolver fails on JDK classes with a non-public field named like the propertyPossibly taken @vaibhavgupta443 claimed this today. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/wicket#1991 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100