Skip to content

Should MountingOptions that apply properties to createApp vm be prefixed? #18

Closed
@dobromir-hristov

Description

@dobromir-hristov

There are a few properties currently that modify the vm returned from createApp, but could be confusing, as the mounted vue component may have the same properties.

Currently these are:

  • mixins - applies the provided mixins globally, but I expected it to just overwrite a mixin on a per component level?
  • plugins - this is self explanatory. Before we would ask them to createLocalVue themselves.
  • provide - provides to all children of the vm. The Mounted component is a top level child so its probably functionally the same?
  • data (uses vm.mixin) - data is merged in a global mixin, wont this overwrite the state in all components?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions