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 天 14 小時
- 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 天內回覆
-
maintenance
難度 4/5 3-5 天 新手友好度 42/100
react-ui-org/react-ui#780 ·
維護者通常 1 天內回覆
-
feature
難度 3/5 1-2 天 新手友好度 55/100
react-ui-org/react-ui#778 ·
維護者通常 1 天內回覆
查看 react-ui-org/react-ui 的全部 Issue
相似的 Issue
-
check:passed streams:add
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
S: triage
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
iot client
難度 2/5 1-3 小時 新手友好度 82/100
Open-Locker/Open-Locker#365 ·
維護者通常 1 天內回覆
-
bug enhancement
難度 2/5 1-3 小時 新手友好度 69/100
inmanta/web-console#7787 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
shoelace-style/webawesome#2979 ·
維護者通常 1 天內回覆