saurabhdaware/vue-extra

Cant directly change value of navbar after initialized

Open

#2 opened on May 19, 2019

 (0 comments) (0 reactions) (0 assignees)Vue (0 forks)github user discovery
buggood first issuehelp wanted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (No merged PRs in 30d)

Description

So when we first initialize navbar object with values and render the navbar we cant just do navbar.color = newColor later to change color. Currently the workaround for this is to do

this.navbar = {...this.navbar,color:newColor}

which seems super hacky. If someone can come up with something by which user can simply do navbar.color = newColor that would be great help. Thanks!

Contributor guide