Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot jump to definition on interpolation variable when using array props declaration #2167

Open
octref opened this issue Aug 14, 2020 · 0 comments

Comments

@octref
Copy link
Member

octref commented Aug 14, 2020

Can jump in this format:

<template>
  <div>
    {{ foo }}
  </div>
</template>

<script>
import * as _ from 'lodash'

export default {
  props: {
    foo: {}
  }
}
</script>

Cannot in this format

<template>
  <div>
    {{ foo }}
  </div>
</template>

<script>
import * as _ from 'lodash'

export default {
  props: ['foo']
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant