Vetur: Vetur 0.19.1 Are You Kidding Me

Created on 25 Apr 2019  ·  13Comments  ·  Source: vuejs/vetur

  • [ ] I have searched through existing issues
  • [ ] I have read through docs
  • [ ] I have read FAQ

Info

Property 'titleName' does not exist on type 'CombinedVueInstance<{ pageTitle: string; } & { handlePanelControl(data: any): void; handleActConfigInit(): void; } & Record & Vue, object, object, object, Record>'.

  • Platform:
  • Vetur version: 0.19.1
  • VS Code version: 1.33.1 (1.33.1)

Problem

image
image
image


Reproducible Case

Most helpful comment

Temporary solution: "vetur.experimental.templateInterpolationService": false

All 13 comments

Solution: back version 0.18.1

Temporary solution: "vetur.experimental.templateInterpolationService": false

@louieaa Would you mind posting your .vue file or a simple way to reproduce those errors?

Had to revert to 0.18.1

yeah I reverted to 0.18.1 too cause it fucked up string literal colours lmfao omg

Link to the vsix for others: https://octref.gallery.vsassets.io/_apis/public/gallery/publisher/octref/extension/vetur/0.18.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage

No repro case -> closing.

No repro case -> closing.

wut

open vscode, install vetur 0.19.1

make new file test.vue

type

<template lang="pug">
.test(
  @click=`
    if(this){}
  `
)
</template>

and

@click=`
    if(this){}
  `

will look fked up

Your issue is not even the same issue.

Vetur version: 0.19.1

We have recently got similar error on each $style in our template. We use CSS Modules that is provided by vue-loader.

Снимок экрана 2019-04-25 в 21 08 56

I have the same case, my template uses properties received through vuex's mapGetters.
all of them have the '...does not exist on type 'CombinedVueInstance' error on them 😭

@stefnotch Of course, Please update Vetur version: 0.19.1 or 0.19.0

Just to say it's resolved in 0.19.2 just check VS Code have updated the extension (for my case I need to click on reload)

It's "fixed" in 0.19.2 because the experimental feature causing all of this was turned off. See https://github.com/vuejs/vetur/issues/1246

The experimental feature is still in the extension and it would be great if people would test it to make sure that everything works how it's supposed to once it gets turned on again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yoyoys picture yoyoys  ·  3Comments

thibautguedou3 picture thibautguedou3  ·  3Comments

shaunc picture shaunc  ·  3Comments

gabrielboliveira picture gabrielboliveira  ·  3Comments

LukeLin picture LukeLin  ·  3Comments