In Vue.js I'm trying to pass values from a loop as properties for a custom component.
<template v-for="upload in uploads">
<upload-container index="{{ $index }}" filename="{{ upload.name }}"></upload-container>
</template>
Unfortunately this does not work and it only passes through the literal strings {{ $index }}
and {{ upload.name }}
instead of the actual values.