Loading...
Loading...
Migrate a user's project from Wot UI v1 to v2. Invoke this skill when the user requests upgrading wot-design-uni to @wot-ui/ui, replacing legacy components/APIs, migrating the form validation system, migrating icon names, or fixing compilation errors, blank icons, and runtime errors caused by v2 breaking changes.
npx skill4agent add wot-ui/cli migrate-v1-to-v2Wot UI v1wot-design-uniWot UI v2@wot-ui/uierrors.md| Keywords | Subfile |
|---|---|
| Error message / compilation error / module not found / is not defined / post-upgrade issue | |
| Form / schema / zodAdapter / FormRules / validation / required-field asterisk | |
| Package name / easycom / Volar / Vite plugin / internationalization / path replacement / uni_modules | |
| Sass / theme / Design Token / CSS variables / style overrides / dark mode / ConfigProvider | |
| Dialog / MessageBox / Empty / StatusTip / Cascader / ColPicker / Keyboard / NumberKeyboard / Button / Tag / Radio / Checkbox / Search / Grid / Fab / Badge / Slider / Tabs / Steps / Swiper / Tooltip / Popover / Collapse / Cell / Input / Textarea / PickerView / ImgCropper / CountTo / Segmented | |
| Icon / wd-icon / icon / iconClass / activeIcon / inactiveIcon / prefixIcon / suffixIcon / blank icon | The “Icon Migration” section of |
| Type | v1 | v2 |
|---|---|---|
| npm package name | | |
| uni_modules directory | | |
| Dialog component | | |
| Dialog Hook | | |
| Empty state | | |
| Multi-column picker | | |
| Numeric keyboard | | |
| Form validation | | |
| Button variants | | |
| Button danger color | | |
| Tag variants | | |
| Radio/checkbox appearance | | |
| Search box light style | | |
| GridItem click | | |
| Utility path | | |
| Built-in icon names | v1 icon collection | Migrate according to the manually reviewed mappings in |
npmuni_modulespages.jsontsconfig.jsonrg "wot-design-uni|wd-message-box|useMessage|wd-status-tip|wd-col-picker|wd-number-keyboard|wd-icon|icon-class|iconClass|active-icon|activeIcon|inactive-icon|inactiveIcon|prefix-icon|prefixIcon|suffix-icon|suffixIcon|@itemclick|shape=|inline|\scell\b|\slight\b|type=\"error\"|type=\"icon\"|type=\"text\"|\splain\b|classPrefix|components/common/util|hide-label|hide-min-max|autoLineWidth|disabled-color|setRoate|useContentSlot|useMoreSlot|\bshow="rg "wd-form|FormRules|:rules=|rules=|errorType|resetOnChange"infra.mdstyles.mdcomponents.mdform.mdcomponents.mdcomponents.mdicons.jsonstyles.mdwd-*ToastDialogNotifytypevariantroundButtonvariantTagplainshapeinlinecellRadioCheckboxlightSearchvariant="light"itemclickclickCellInputTextareawd-form-itemPickerViewImgCropperCountToBadgeSliderTabsStepsSwipericons.jsoniconClassactiveIconinactiveIconprefixIconsuffixIcon