Support usage from source in downstream
维护者通常 1 天内回复
@adamkudrna 已经在做这个了。
开始于 2024年4月15日。
评估
这个 Issue 还没有评估数据。
描述
As of now, we only support the quick-usage scenario via ready-to-use CSS and JS bundles.
Expert Mode
Aside from that, we also want to support the "expert" scenario for those who want to have more control over what is bundled into their app. This means:
- loading common Sass source files directly (everything except components),
- loading JS components as modules that take their Sass styles with them.
👉 Add the "module" directive to our package.json to make the ESM way easier: https://antfu.me/posts/publish-esm-and-cjs
Caveats
⚠️ Beware of Sass imports we currently have in our src/index.js:
import './theme.scss';
import './foundation.scss';
import './helpers.scss';
⚠️ Do not break current CSS and JS bundles.
- 主要语言
- TypeScript
- 星标
- 23
- 派生
- 10
- 平均合并
- 5 天 12 小时
- 30 天内合并 PR
- 9
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-ui-org/react-ui 的其他 Issue
-
maintenance
难度 2/5 1-3 小时 新手友好度 78/100
react-ui-org/react-ui#784 ·
维护者通常 1 天内回复
-
accessibility bug
难度 2/5 1-3 小时 新手友好度 68/100
react-ui-org/react-ui#775 ·
维护者通常 1 天内回复
-
maintenance
难度 2/5 1-3 小时 新手友好度 63/100
react-ui-org/react-ui#753 · 1 条评论 ·
维护者通常 1 天内回复
-
Playwright container fails `devEngines` check again because its image does not pin Node.js可能已有人在做 @bedrich-schindler 今天认领。 未关闭bug maintenance
难度 4/5 1-2 天 新手友好度 25/100
react-ui-org/react-ui#782 ·
维护者通常 1 天内回复
-
maintenance
难度 4/5 3-5 天 新手友好度 42/100
react-ui-org/react-ui#780 ·
维护者通常 1 天内回复
查看 react-ui-org/react-ui 的全部 Issue
相似的 Issue
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timing未关闭e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
devswha/herdr-web-ui#2884 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
b:minor bug
难度 2/5 1-3 小时 新手友好度 78/100
software-mansion/argent#1771 ·
维护者通常 1 天内回复
-
Resources: New palettes of Xiamen可能已有人在做 @rmt-svc 今天认领。 未关闭resources
难度 1/5 1-3 小时 新手友好度 74/100
railmapgen/rmg-palette#2491 ·
维护者通常 4 天内回复