Questions tagged [vetur]
The vetur tag has no usage guidance.
vetur
114
questions
0
votes
0
answers
61
views
Vetur Cannot Find Module From @ when in Parent Folder
Overview
I'm building a front end project using Vue, Vetur, and Typescript. When I create imports in files such as App.vue, my @ alias for the src folder works perfectly if I open the folder ...
0
votes
0
answers
138
views
Using TypeScript with Vue2 and having setter on computed property causes methods to crash
I am using Vue 2.7.14 and have a problem, when trying to migrate from JS to TS. When using setters for my computed properties, I get an error from Vetur, in all my methods calling a property from the ...
0
votes
1
answer
1k
views
Format problems in Vue project
I have VS Code installed since long time ago, many extensions, some deprecated, etc. In my Vue project since a while ago sometimes I get the HTML template attributes with extra white space around them....
1
vote
0
answers
200
views
How to use formatSelection on .vue files using Prettier in VS Code?
I'm trying to use the editor.action.formatSelection command on .vue files in VS Code. However, the option is not available.
I'm aware that Vetur doesn't support this feature, therefore, i've disabled ...
0
votes
1
answer
151
views
Vetur + Prettier HTML formatter
I'm using Quasar with Vue3 and the vs code extension Vetur and Prettier to help me keep the code well formatted.
I see something I don't really like and I would like to fix it in the configuration, ...
0
votes
0
answers
112
views
Is "prettyhtml" the same thing as "prettier" in VS Code?
I have a Vue project. When I go into my VS Code settings, I see an extension called "Vetur". I believe Vetur is what takes care of all code formatting for me. Under settings, when I click ...
0
votes
0
answers
331
views
Vuejs Vetur(2349) - "This expression is not callable". I can't see what is wrong
I am currently struggling with a Vuejs component and a mixing. The main idea is to have a mixing that given a certain number, it formats the number as a price. Here is the code:
Component:
<...
15
votes
3
answers
14k
views
Detected Vetur enabled. Consider disabling Vetur and use @volar-plugins/vetur instead
VSCode is giving the following warning
Detected Vetur enabled. Consider disabling Vetur and use
@volar-plugins/vetur instead.
What is this for? What do I need to do to turn it off
1
vote
0
answers
2k
views
Vetur "Cannot find name 'reactive'" with Nuxt 3 and TypeScript
I use Vue with Vetur every day at work and have my Vetur setup for Vue 3 but I have never actually used TS on the front-end before so I'm unsure if this is a Vetur issue or not.
I'm following along ...
1
vote
1
answer
778
views
Nuxt `head` property shows errors when using computed properties
I'm using Nuxt.js using head() { } to set SEO metadata.
Within this, if I access computed properties, Vetur shows:
Property 'domain' does not exist on type 'CombinedVueInstance {...}>'.
import Vue ...
0
votes
1
answer
2k
views
Vue 3 for loop issue
I am trying to for loop the data from App.vue component by passing props to component . But while I try to display the contents I receive the Error in v-for. Please check the code and Error. I believe ...
1
vote
1
answer
738
views
VS Code Vetur extension failing to read VueJS with InertiaJS files
I started working on a new Laravel, Vue and inertiaJS project and I'm using VS code editor. The problem I'm having is that Vetur isn't getting that I'm using Inertia not pure Vue components; therefore,...
0
votes
1
answer
2k
views
Incorrect "warning" Vetur - Vue.js - VSCode [duplicate]
My VSCode (Vetur) is displaying this warning, however the imported component is being used in the template.
Warning in import :
Component used :
Another issue is that the summaries are appearing in ...
-1
votes
1
answer
182
views
How to stop vue error messaging in code in vscode from the vetur extension
I have the vetur extension installed which handles error messaging in code. The problem is that my code works perfectly but the vetur extensions shows all red lines under my code which I don't want.
...
4
votes
3
answers
3k
views
Go To definition does not work in same file with VSCODE + VETUR
My vue.js configuration is
vue.js 2.0
use vue.cli
webpack
javascript not typescript
use multiple root
server : server project
client/dashboard : web client project(this is vue project)
On follow ...