Loading...
Loading...
Apply a structured migration workflow from native mini-program projects to weapp-vite and wevu. Use when converting Page/Component code to Vue SFC, replacing setData-heavy state updates with ref/reactive, migrating properties/observers/triggerEvent contracts, introducing platform guards, and building migration-focused e2e validation and rollback checkpoints.
npx skill4agent add sonofmagic/skills native-to-weapp-vite-wevu-migrationweapp-vite + wevu + Vue SFCPage/Componentthis.datasetDataref/reactiveproperties/observers/triggerEventdefineProps/watch/defineEmitsimport.meta.env.PLATFORMjs/wxml/wxss/json.vueref/reactive/computed/watchsetDatapropertiesdefinePropswithDefaultstriggerEventdefineEmitsobserverswatch/watchEffectemitinstancesetup(_, { instance })instanceimport.meta.env.PLATFORMwx/my/tt.vuePage/ComponentsetDatadefineProps/defineEmitsimport.meta.env.PLATFORMreferences/migration-checklist.mdreferences/api-mapping-and-pitfalls.md