Static GitHub Issues

[2808] v-for variable is undefined in string interpolated v-bind, but works in mustaches

prev: context.redirect() acts weirdly when the path doesn't start with a slash
next: Does this service belong in a plugin?

I have the following component:

<template lang="pug">
#blog
  template(v-for='post in posts' v-if='posts')
    nuxt-link(:to=`/blog/${post}`) {{ post }}
    p {{ post }}
</template>

<script>
import * as postsMarkdown from '../../assets/js/md-index';

export default {
  data() {
    return {
      posts: Object.keys(postsMarkdown),
    };
  },
};
</script>

Unless I comment out the nuxt-link element, it fails to build, but when commented, the p properly renders with the contents of post. Am I doing something wrong?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2439">#c2439</a>)</em></sub></div>