Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

The "scope" attribute for scoped slots has been deprecated #57

Closed
silvio-e opened this issue Oct 19, 2017 · 1 comment
Closed

The "scope" attribute for scoped slots has been deprecated #57

silvio-e opened this issue Oct 19, 2017 · 1 comment

Comments

@silvio-e
Copy link

silvio-e commented Oct 19, 2017

Hey!

Just want to notify that in the docs you still use the scope attribute which results in following warning:

(Emitted value instead of an instance of Error) the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.

for example when using footer code example

<template slot="footer" scope="props">...

Cheers! :)

@cristijora
Copy link
Collaborator

Hello @silvio-e Although I am aware of the upcoming depcration, many people still use older versions of vue. Will change this after some more time so people don't have issues with scoped slots not working on older versions due to the new syntax

cristijora added a commit that referenced this issue Nov 15, 2017
Add compatibility notes
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants