Skip to content

mounting options: global #28

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

Closed
lmiller1990 opened this issue Mar 28, 2020 · 2 comments · Fixed by #31
Closed

mounting options: global #28

lmiller1990 opened this issue Mar 28, 2020 · 2 comments · Fixed by #31
Assignees
Labels

Comments

@lmiller1990
Copy link
Member

move plugins and mixins to global

@lmiller1990 lmiller1990 mentioned this issue Mar 28, 2020
18 tasks
@dobromir-hristov dobromir-hristov self-assigned this Mar 28, 2020
@dobromir-hristov
Copy link
Contributor

dobromir-hristov commented Mar 28, 2020

Should we also add component, directive and config.globalProperties?
With those added, we allow them to mimic their global app config fully.

interface MountingOptions<Props> {
  ...
  global?: {
    plugins?: Plugin[]
    mixins?: ComponentOptions[]
    directives: Directive[]
    components: Component[]
  },
}

@lmiller1990
Copy link
Member Author

Sure, makes sense!

lmiller1990 added a commit that referenced this issue Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants