Skip to content

Vue.config.strict and v-repeat #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fergaldoyle opened this issue Jul 27, 2015 · 0 comments
Closed

Vue.config.strict and v-repeat #1080

fergaldoyle opened this issue Jul 27, 2015 · 0 comments

Comments

@fergaldoyle
Copy link
Contributor

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant