Closed zouhangwithsweet closed 5 months ago
Migrate component logic to support vue3
install
pnpm i
dev
pnpm dev
v-model
add emits for components
$scopedslot & scop-slot
remove $set $on
$set
$on
builtin vue-create-api for vue3
vue-create-api
replace Vue.prototype with app.config.globalProperties
Vue.prototype
app.config.globalProperties
...
[x] Make sure you follow DiDi's contributing guide.
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.
Describetion
Migrate component logic to support vue3
Dev
install
dev
Check list
v-model
add emits for components
$scopedslot & scop-slot
remove
$set
$on
builtin
vue-create-api
for vue3replace
Vue.prototype
withapp.config.globalProperties
...
[x] Make sure you follow DiDi's contributing guide.
[x] Make sure you are merging your commits to
dev
branch.[x] Add some descriptions and refer relative issues for you PR.