You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 thev-repeat
See here for example, change strict to false and the repeat will work:
http://jsfiddle.net/fergal_doyle/eq2k0w9y/6/
The text was updated successfully, but these errors were encountered: