Skip to content

Properties added via Mixin are not updated #31

@SergejKasper

Description

@SergejKasper

Hallo Karol,
i've come across the following issue when using vue-mixins with custom elmenents:

Steps to Reproduce:

  1. Create a component, register it as a custom element and add a prop via vue-mixin
    -> The default of the prop is displayed properly
  2. Change the prop by assigning a different value (as attribute or via js)
    -> The prop is not being updated

When taking a look in the debugger i discovered that the
__vue_custom_element__.$options.props
are only showing the component's own props

Bin

https://www.webpackbin.com/bins/-KovSNBlmGRuMtIy7zop

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions