I get this error when I'm using Ant-design table for VueJS
<template slot="name" slot-scope="name"> {{ name.first }} {{ name.last }} </template>
After I changed to Vue 3 rules still nothing showed:
<template v-slot:name v-slot="name"> {{ name.first }} {{ name.last }} </template>
Your markup below doesn't work because it marks the template with two slot names; i.e., the
name
slot (inv-slot:name
) as well as thedefault
slot (inv-slot="name"
):Here's the correct fix: