Closed JohnSmith0602 closed 9 years ago
Sorry, it's my stupid syntax error.
Hi, I check the Vue.js Doc, seems like I have to use [[member.name]]
inside the for loop. There are too many mebmer prefix to add, is there something like loop context to make it easier? Thanks.
Hi, I upgrade to the latest vue:vue, seems like it uses Vue.js 1.0.4. Here comes the problems:
First, a small one, v-repeat is replaced by v-for, which should be noted in the example in README.MD, the first entry for new users to get to know vue:vue.
Then, I checked my code several times, pretty sure that after replacing
<div v-repeat="member in members"></div>
with<div v-for="member in members"></div>
, I got all members with no data in them at all, meaning member count is still right, yet nothing in them.Wonder if it's a known issue. Many thanks.