Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

1. Project initialization with Vite.js pnpm create vite √ Project name: ... demo √ Select a framework: » Vue √ Select a variant: » Customize with create-vue ↗ $ Vue.js - The Progressive JavaScript ...
lril ho's user avatar
2 votes
2 answers
393 views

I have a tab component in a vue 3 (3.5.12) typescript project. The tabs accept a prop called nav which might look something like this: const nav = ref([ { id: 'about', ...
dstaffcs's user avatar
1 vote
1 answer
90 views

When I update my project's TypeScript dependency to the version v5.5.2 from 5.4.5 it completely breaks my checks in test.ts files specifically with VueWrapper type, I use vitest. type error My usual ...
Jorge Luis Arencibia's user avatar
0 votes
1 answer
124 views

Using vue 3.4.31, vuetify 3.6.12, and vue-tsc 2.0.26. I'm trying to use a custom template with a v-select and when I build I get: TS2339: vuetify v-select Property 'props' does not exist on type '{ ...
Bob Ramsey's user avatar
0 votes
2 answers
786 views

I have a Vue3 app and using VSCode. Using the npm run type-check command will show me the vue-tsc errors. I'm trying to find a way to show these errors in VSCode, like eslint does. Does anybody know ...
Voicu Seiche's user avatar
8 votes
1 answer
8k views

When updating my project to use the latest @vue/tsconfig version (version 0.5.1 as of this writing) the command vue-tsc fails with error Referenced project 'd:/repos/project/tsconfig.node.json' may ...
Scorix's user avatar
  • 649
7 votes
0 answers
2k views

With a recent introduction of TypeScript to a project, our team decided not to do a full-blown type check inside a CI pipeline, but rather fix the problems gradually. One plan was to run a compiler on ...
Arsen's user avatar
  • 40
1 vote
0 answers
409 views

I'm working on a project using typescript & vue3 & vite. It's a common component library, so when I build this project, I have to generate .d.ts declaration files. I have tried in two ways: ...
zheng manon's user avatar
0 votes
0 answers
187 views

Suppose you have a component my-select, with a template like <template> <div class='my-select'> <MyButton v-bind="attrs"/> ... </div> </template> ...
stackoverfloweth's user avatar
1 vote
0 answers
691 views

I have a Vue 2 app that I am upgrading to Vue 3. JavaScript Imports are incorrectly being generated for .svg files that have been marked as external resources. This causes an error when the browser ...
Brian's user avatar
  • 7,164
0 votes
1 answer
36 views

Assuming SomeComp is a custom component exposing a function open, in a template I can do this: <button @click="$refs.someComp.open()">Open</button> <SomeComp ref="...
IARI's user avatar
  • 1,427
0 votes
2 answers
1k views

The property does not work in the component src/main.ts import { createApp } from 'vue' import languagePlugin from '@/plugins/languagePlugin' import App from './App.vue' const app = createApp(App) ...
Ilya Degtyarenko's user avatar
8 votes
2 answers
2k views

After upgrading from NUXT 3 Release candidate to the latest and released version and making the changes I needed in order to get everything running smoothly, vue-tsc has started showing an error-badge ...
Simon Rosengren's user avatar
1 vote
1 answer
64 views

I keep getting a ts error type: Propery Instance does not exist on HTMLElement. I get my element in query selector and then in onmounted I access _instance. what type should I use to stop getting this ...
Non404's user avatar
  • 1,303
1 vote
2 answers
2k views

I recently started a vue3 project and decided to use TypeScript. Once I had studied some basics I intentionally made a typing mistake but no error appeared: <script setup lang="ts"> ...
gsk 42's user avatar
  • 47
3 votes
2 answers
978 views

I've found a lot of issues regarding this across the internet and stack overflow, however, the problem always seems to be with React? like this one, however, I am using Vue and the error happens to ...
ii iml0sto1's user avatar
  • 1,772
0 votes
1 answer
2k views

I have a simple project built with Vite, Vue3, TypeScript and Jest for testing. I have a Vue component called Btn.vue that import a Variant type from my @/types/index.d.ts. (Note that the @ alias is ...
Soviut's user avatar
  • 92.2k