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

Vue3: Add generic renderer stories & delete vue3 example #19219

Merged
merged 7 commits into from
Sep 27, 2022

Conversation

shilman
Copy link
Member

@shilman shilman commented Sep 20, 2022

Issue: N/A

What I did

  • Update sandbox to support renderer preview annotations
  • Copy useful stories from examples/vue-3-cli to Vue3 renderer
  • Delete examples/vue-3-cli

How to test

  • CI passes

@shilman shilman added maintenance User-facing maintenance tasks vue3 labels Sep 20, 2022
@shilman shilman requested a review from tmeasday September 20, 2022 03:31
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

LGTM, great job!

Comment on lines +5 to +8
// TODO: I'd like to be able to export rather than imperatively calling an imported function
// export const setup = (app) => {
// app.component('GlobalButton', Button);
// };
Copy link
Member

Choose a reason for hiding this comment

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

Is this a concept we want to add everywhere? Like a setup function in preview.js? Is there a use case where you wouldn't just immediately call it right away (in which case maybe having it would be adding complexity for its own sake)?

Copy link
Member Author

Choose a reason for hiding this comment

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

@shilman shilman merged commit 64940b2 into next Sep 27, 2022
@shilman shilman deleted the shilman/vue3-generic-stories branch September 27, 2022 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks vue3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants