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

Changed deprecated slot syntax #360

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

sronveaux
Copy link
Collaborator

In the wake of #359 there is a small PR which gets rid of the slot and slot-scope attributes which are strongly discouraged since Vue 2.6 and deprecated in Vue 3.

This PR was made as a small step towards #350 and #351 and is in fact the preliminary step before migrating to Vue 3 as stated in the official migration guide.

This should have no impact on any working Wegue application as deprecated syntax can still be used next to the new one but it should be tested on bigger and more complete apps just to be sure...

@fschmenger
Copy link
Collaborator

Hi @sronveaux, thanks a lot for providing this! I`m unfortunately a bit short currently for a full review but will do either in the upcoming weeks or maybe @chrismayer can?!

Do the commits 607c6a3 and 49ea5f3 relate to slot syntax changes?
Maybe you should either change the title of this PR to something more general like "maintenance" or rather split it up into 2 separate PRs (can be nested).

Greets Felix

@sronveaux
Copy link
Collaborator Author

Hi @fschmenger and thanks for the comment, no problem, there is no hurry, this will be useful later when updating to Vue3 but it has no other purpose...

Concerning the two commits, it was kind of linked because when updating the workshop documentation with the new syntax, I came across the fact that the workshop code couldn't be run anymore because of linting errors. So it was no point to change just the slot syntax but have a code that can't be run on current version of Wegue...

No problem, this PR now just changes the slot syntax in code and documentation and I'm going to create another PR with the updates to the workshop...

Greets, Sébastien

@sronveaux sronveaux mentioned this pull request Nov 28, 2023
Copy link
Collaborator

@fschmenger fschmenger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sronveaux,
I tested this in a custom App which makes extensive use of tooltips / map-overlays. I also tested some of the slots which are forwarded to the app-header.
Everything works as expected.

Thank you, will merge this now.

@fschmenger fschmenger merged commit d4b4033 into wegue-oss:master Feb 22, 2024
1 check passed
@sronveaux sronveaux deleted the new-slot-syntax branch February 27, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants