Skip to content

Vue.config.strict and v-repeat #1080

@fergaldoyle

Description

@fergaldoyle

I'm having a bit of trouble trying to repeat a component with Vue.config.strict = true.

I was initially trying to place v-repeat directly on the component tag, but couldn't access properties of each item on the component tag itself to pass in props.

Then I saw that it's recommended to use <template> to wrap the component, but with strict enabled, the child component doesn't exist within the <template>

Then I changed <template> to a <div>, but still the child component doesn't exist inside the v-repeat

See here for example, change strict to false and the repeat will work:
http://jsfiddle.net/fergal_doyle/eq2k0w9y/6/

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