Static GitHub Issues

[1270] Inability to use shortcut colon for v-bind in pages

prev: Transition - Access both from/to and element?
next: starter-template can't npm install, 1error

Maybe I forgot to configure something but I can't use the colon shortcut for v-bind in pages.

step(
  v-for="step in steps"
  :description="step.description"
  :key="step.number"
  :number="step.number"
  :title="step.title"
)

Will result in:

Module build failed: Error:
    18|           step(
    19|             v-for="step in steps"
  > 20|             :description="step.description"
--------------------^
    22|             :key="step.number"
    23|             :number="step.number"

Syntax Error: Unexpected token

The strange thing is that sometimes this shortcut seems to work in files within the components folder.

<!--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/c1122">#c1122</a>)</em></sub></div>