Make sure scripts are passing good data so it's only the parse that can go wrong

pull/1156/head
Christopher Pfohl 7 years ago
parent c62f77a5d2
commit b55ccc6d9f

@ -1,8 +1,11 @@
{{#each foos as foo @id}}
{{/each}}
<script>
export default {
data: () => ({ foos: [] })
}
export default {
data: () => ({
foos: [
{ "id": 5 }
]
})
};
</script>

@ -1,2 +1,11 @@
{{#each foos as foo}}
{{/each}}
<script>
export default {
data: () => ({
foos: [
"id": 5
]
})
};
</script>

Loading…
Cancel
Save