ui5-table-column with attr "slot" error
Describe "<ui5-table-column>" with attr "slot" error in @vue/cli 4.5.4
example
<ui5-table-column v-for="column of action.columns" :key="column.key" slot="columds">
<div>
<ui5-label>{{ column.name }}</ui5-label>
</div>
</ui5-table-column>
Error
Vue shows:
"error slot attributes are deprecated vue/no-deprecated-slot-attribute"
Hi FnEsc,
Could you provide the exact version of the following deps:
"vue"
"@vue/cli-plugin-babel"
"@vue/cli-plugin-eslint"
"@vue/cli-service"
Hi fifoosid, much appreciated and very nice to meet you. My versions look like as following below:
npm ls vue
-- [email protected]
npm ls @vue/cli-plugin-babel
-- @vue/[email protected]
npm ls @vue/cli-plugin-eslint
-- @vue/[email protected]
npm ls "@vue/cli-service
-- @vue/[email protected]
This is an eslint configuration in in Vue.js 2.6.0+ https://eslint.vuejs.org/rules/no-deprecated-slot-attribute.html
The docs suggests using "v-slot" https://vuejs.org/v2/api/#slot-deprecated
Can you check it - it seems the issue is related entirely to Vue.
BR, ilhan