Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate deprecated slot syntax #9243

Closed
Tracked by #64
st3iny opened this issue Jan 15, 2024 · 0 comments · Fixed by #9280
Closed
Tracked by #64

Migrate deprecated slot syntax #9243

st3iny opened this issue Jan 15, 2024 · 0 comments · Fixed by #9280

Comments

@st3iny
Copy link
Member

st3iny commented Jan 15, 2024

Is your feature request related to a problem? Please describe.

  1. The old slot syntax slot="some" is deprecated.
  2. A slot's scope can no longer be specified via slot-scope="option".

Describe the solution you'd like

  1. Refactor from slot="some" to #some (short form of v-slot:some).
  2. Refactor from slot="some" slot-scope="{ option }" to #some="{ option }".

Describe alternatives you've considered

No response

Additional context

https://v2.vuejs.org/v2/guide/components-slots.html#Deprecated-Syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant