Problem/Motivation

Best way for handling json props with Vue.js is to pre-pend them with a colon : such that the json-string is evaluated and passed as object. See https://vuejs.org/v2/guide/components-props.html#Passing-an-Object

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fago created an issue. See original summary.

fago’s picture

Status: Active » Needs review

Attached MR implements this and fixes the thunder gallery prop to not use the colon when using web-components style.

fago’s picture

Status: Needs review » Fixed

  • fago committed 612f513 on 8.x-2.x
    Issue #3202372 by fago: Improve handling of json props when using Vue.js...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.