I am attempting to incorporate a component using v-for
. The data source infoTexts
is structured as an Object where the locale code serves as the key and the corresponding message is the value.
For example:
{
nl: 'Text in Dutch',
fr: 'Text in French',
en: 'Text in English'
}
Here is the code I am using to include the components:
<text-editor v-for="(value, index) in infoTexts" :key="index" :database-message-contents="value" :message-locale-code="index"></text-editor>
Both database-message-contents
and message-locale-code
are properties on the text-editor
component.
While no errors appear in my console, the text-editor
component does not display.