Open ghost opened 5 years ago
Is it still happening on your env? I just cloned and opened your repro but it looks works fine.
@ktsn Thanks for looking into it. That's strange. It's still the same for me, but everything else works as expected. Any idea as to what might be the reason?
Hmm, the only difference between you two seems to be Win vs Mac. Probably related to path handling...
I was thinking that too. Still, pretty strange that there's no issue with the <script>
section of the same file. Wish Vetur's JSX support was on par with templates.
I have a colleague with the exact same codebase and plugins that does not have this issue. He also runs a Mac. When he is back in, I'll try to come up with a complete plugins and settings list, as well as installed software.
On Wed, Jun 19, 2019 at 2:07 AM Pine notifications@github.com<mailto:notifications@github.com> wrote:
Hmm, the only difference between you two seems to be Win vs Mac. Probably related to path handling...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/vuejs/vetur/issues/1331?email_source=notifications&email_token=ABYCPJ2DJJTI3ZB5M43HMZDP3HLJZA5CNFSM4HXD5YC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYA5DKQ#issuecomment-503435690, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABYCPJ4BSOTYCAT4W3B23T3P3HLJZANCNFSM4HXD5YCQ.
Info
Problem
When adding extra keys to the instance through augmenting Vue types, they can be accessed inside component
<script>
tags as expected, but not within<template>
expressions.Reproducible Case
state
andactions
keys to the instance.<template>
expressions, although available inside the<script>
.