vue-class-components Questions
2
Solved
Hi I'm using Vue 3 with Typescript and Class Components. I just copy-pasted the example from the docs but it looks like there is an issue with Typescript:
TS1238: Unable to resolve signature of cla...
Poulin asked 16/9, 2020 at 19:55
2
Solved
I wanna upgrade my vuejs project to typescript based on class components, but i read in vue issue's https://github.com/vuejs/rfcs/pull/17#issuecomment-494242121 :
Update: the Class API proposal is...
Karlene asked 8/1, 2020 at 11:17
3
Solved
I'm working on a component which queries an external API when the text in a search bar changes, and I'm trying to debounce that query so it can only execute every 2 seconds. I'm trying to use lodas...
Jennet asked 14/3, 2020 at 20:0
1
Solved
I'm wondering what modifiers should I use for properties and methods in Vue classes? (I use vue-class-component package). public, private, protected?
Or should I turn off the linter rule that say...
Foppery asked 25/3, 2019 at 14:1
4
I have a Vue.js v2.6 project with TypeScript v.4.3 "under the hood".
My problem: I cannot find any documentation that clears up, if it makes sense to use access modifiers in Vue component...
Numb asked 4/8, 2021 at 9:17
1
Solved
So I've read this article a couple of times and as I understand, I can use v-model, instead of props, to pass values from a parent to a child component and automatically emit event when prop's valu...
Achromatism asked 19/6, 2021 at 18:38
1
Solved
Does anyone know any working example with the mentioned stack? I know Vuelidate is still alpha when it comes to Vue 3, but my guess is if it works with Composition API, then there should be a worka...
Lacasse asked 7/4, 2021 at 13:29
1
Solved
I'm banging my head on the following problem: I created a QRCode component using Vue 3 and Typescript with the following code:
<template>
<canvas ref="qrcodeVue"> </canvas...
Dianetics asked 28/12, 2020 at 19:43
3
Solved
I'm using vue-cli-service to build my vuejs application.
The build is successful, but in webstorm IDE, I get some TS2339 errors :
Test.vue:
<template>
<div>{{method()}}</div>
...
Sayyid asked 5/6, 2019 at 9:14
1
Solved
Using vue-property-decorator (or actually its Component and Prop of vue-class-component) and vue-chartjs-typescript, I am trying to make a BarChart-component with the properties chartData and optio...
Amp asked 30/9, 2019 at 10:37
1
I got an error in my TypeScript component file that a prop doesn't exist, but I declared the prop exactly as described in the vue-class-component documentation example.
Property 'propMessage' does...
Shumway asked 12/9, 2019 at 7:28
1
I'm trying to implement Vue Router's in-component navigation guards using the vue-property-decorator package. Underlying, vue-property-decorator relies on vue-class-component package. It offers a r...
Outstretch asked 3/9, 2018 at 11:5
2
Solved
I'm using vuejs with typescript and vue-class-component. I'm trying to create a custom component with reactive data.
Here is my code:
<template>
<div>
<input v-model="data.name" ...
Pasha asked 16/4, 2019 at 19:8
2
According Vue.js documentatin to use pug pre-processor in Single File Components, pug-plain-loader (not pug-loader) required:
{
test: /\.pug$/,
loader: 'pug-plain-loader'
}
What if besides Sin...
Highjack asked 14/3, 2019 at 1:38
0
I am trying to create a vuejs component library in typescript with vue-class-component and vue-property-decorator with the following requirements:
The library components should be written in clas...
Pelag asked 4/7, 2018 at 11:53
1
Solved
Ok, it's a weird usecase, but in any case.
I have a controls component, that includes menu component, that also includes a controls component but without menu (strange stuff, but that's design).
...
Atul asked 16/4, 2018 at 9:34
2
Is there some way to use an imported object in the template without specifying an alias/property for it in the vue component. I.e. can I somehow use variables not defined on "this"
<template&g...
Papaveraceous asked 17/12, 2017 at 21:38
1
© 2022 - 2024 — McMap. All rights reserved.