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 no longer exports app in 7.0-alpha #19200

Open
shilman opened this issue Sep 15, 2022 · 2 comments
Open

Vue3 no longer exports app in 7.0-alpha #19200

shilman opened this issue Sep 15, 2022 · 2 comments

Comments

@shilman
Copy link
Member

shilman commented Sep 15, 2022

This commit removes the app export from @storybook/vue3:

24251e2#diff-63c4fc9feba520d3505ec8a6796e7d0576ef804b6f92d68ae8b8c2e64f18264c

We should try to restore it so that users can use it to add global components and directives.

@matsko
Copy link

matsko commented Nov 21, 2022

I've also run into this issue.

@matsko
Copy link

matsko commented Nov 21, 2022

Looks like this is the current approach:

import {setup} from "@storybook/vue3";

setup((app => {
  return setupMyApp(app);
}));

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

No branches or pull requests

3 participants