Replies: 27 comments 28 replies
-
|
InputNumber 已提交pr |
Beta Was this translation helpful? Give feedback.
-
|
CalenderCard 已提交 PR |
Beta Was this translation helpful? Give feedback.
-
|
Form 组件 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Switch |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
SearchBar 已提交 PR |
Beta Was this translation helpful? Give feedback.
-
|
Rate 组件 |
Beta Was this translation helpful? Give feedback.
-
|
Card 已提交 PR |
Beta Was this translation helpful? Give feedback.
-
|
认领 : trendarrow |
Beta Was this translation helpful? Give feedback.
-
|
Barrage |
Beta Was this translation helpful? Give feedback.
-
|
Cascader |
Beta Was this translation helpful? Give feedback.
-
|
认领 Checkbox |
Beta Was this translation helpful? Give feedback.
-
|
认领 Radio |
Beta Was this translation helpful? Give feedback.
-
|
TextArea |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
认领:Range |
Beta Was this translation helpful? Give feedback.
-
|
认领:Countdown |
Beta Was this translation helpful? Give feedback.
-
|
认领 Picker |
Beta Was this translation helpful? Give feedback.
-
|
textarea已提交PR |
Beta Was this translation helpful? Give feedback.
-
|
ellipsis 已提交pr |
Beta Was this translation helpful? Give feedback.
-
|
认领uploader |
Beta Was this translation helpful? Give feedback.
-
|
认领 Calendar |
Beta Was this translation helpful? Give feedback.
-
|
Range 已提 PR |
Beta Was this translation helpful? Give feedback.
-
|
Got it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
前期为了适应各种版本,共有

doc.md、doc.en-US.md、doc.zh-TW.md、doc.taro.md四种类型的文档,随着功能的迭代,每次更改demo都需要进行重复的国际化翻译与四份文档的编写,带来了大量的工作负担与一致性隐患。因此在这一方面,本项目已进行mdx项目重构,转变逻辑如下:具体提交PR过程如下:
fork仓库
访问https://github.com/jdf2e/nutui-react
点击fork仓库到Your repositories(欢迎Star)。
克隆代码到本地并运行
单独开辟分支,如
git checkout -b fix/0314/extract-button-demos具体操作
demo.tsx和demo.taro.tsx进行组件引入与拆解。去除无关代码。具体效果可参考已完成的组件doc.md、doc.en-US.md、doc.zh-TW.md依次引入demos/h5中的全部demodoc.taro.md引入demos/taro中的全部demodemo与demo.tsx对应位置的代码是否一致,若不一致:以demo.tsx为标准对抽取出的demo进行修改;一致后则替换为引入的demo。demo效果,确认无误后删除interface以及无关import的内容。至此完成对于demo.tsx的替换demo.taro.tsx的校验步骤与上述一致PR流程
fix([组件名]): demo拆解与规范描述勾选如下:组件认领表
Beta Was this translation helpful? Give feedback.
All reactions