@surveycake/rc
Version:
react component of surveycake
22 lines (15 loc) • 637 B
Markdown
# rc
React components library for SurveyCake
Only support ES Modules
Please see
- [documentation](https://surveycake.fox.25sprout.com/sdk/rc/)
- [roadmap](ROADMAP.md)
## 本地開發指南
以下以 admin 專案為例,說明如何進行本地開發:
1. 開啟 admin 專案的 `package.json`
2. 修改 `dependencies` 欄位:
- `@surveycake/rc` 改為 `link:${MY/LOCAL/RC/PATH}`
- `react` 改為 `link:${MY/LOCAL/RC/PATH}/node_modules/react`
- `react-dom` 改為 `link:${MY/LOCAL/RC/PATH}/node_modules/react-dom`
3. 啟動 admin 的本地開發伺服器
4. 當 RC 有更新時,只需重新執行 `yarn build` 即可