Skip to main content
0 votes
1 answer
2k views

I am using Composition API with <script setup> in one component (ComponentA.vue) and want to extend a mixin (Greeting.ts) inside Component A. Problem statement : When I am trying to access ...
Rohìt Jíndal's user avatar
2 votes
2 answers
1k views

I'm using Vue 2 (class syntax) and Typescript (TSX syntax) and I know this question has been asked a few times but none of the answers I've seen have applied to my own situation. I've created an ...
nouf alsalem's user avatar
2 votes
1 answer
2k views

I want to switch from Options API to Composition API and use composables in place of mixin. So far I've been using a global mixin with computed property like this: // globalMixin.js computed: { ...
Sc00rpY's user avatar
  • 63
0 votes
1 answer
846 views

I"m porting my new app from vue2 to vue3. Since mixins are not recommended way of reusing code in vue3, Im trying to convert them into composable. I've 2 mixins (methods) __(key) and __n(key, ...
claws's user avatar
  • 54.8k
0 votes
0 answers
170 views

I have used mixin vue within my vue project and it worked pretty well. But, is there a way to use mixin with a external module? I would like to use a sepecfic component that is inside that module in ...
Felipe's user avatar
  • 1
0 votes
1 answer
2k views

I'm trying to integrate commerce.js in vue 3 ... I have an error when I try to integrate commerce as a global plugin enter image description here In my browser i have a wite screen with this message ...
TigerCoderr's user avatar
0 votes
1 answer
1k views

I want to use a global mixin in vue3. Using the mixin property - mixin:[mixinName] in createApp does not work. Using the method .mixin(mixinName) will work. What is the difference? Not working: ...
user3046913's user avatar
-1 votes
1 answer
232 views

I ma using element ui el-pagination like this <el-pagination @size-change="handleChange" @current-change="CurrentChange" :current-page.sync="...
Neeza's user avatar
  • 41
1 vote
0 answers
2k views

I have a App.vue. I have a Component A in App.Vue. Now i also have a Base Class B and Class A should inherit properties from B. I am using Vue3 + Typescript in my project. When i am using simply ...
Kotana Sai's user avatar
  • 1,914
2 votes
1 answer
2k views

I've been struggling with this for about a week now, so if anyone knows, I'd be grateful if you could help. I have been converting vue2-based code to vue3 as a new project. I do not use the coposition ...
woong-jae choi's user avatar
1 vote
0 answers
533 views

I have a Global mixin that works everywhere except in the App.vue.This mixin is supposed to load a Yaml config file and make it available everywhere. So the question is ¿why it doesn't work only in ...
bibu3344's user avatar
  • 243
1 vote
0 answers
105 views

I have a Vue component that displays information for a log entry. On my page, I have a for loop that instantiates this component for each log entry. I could have anywhere from 0 - potentially 100+ ...
Josh's user avatar
  • 978
1 vote
1 answer
686 views

i would like to create a global mixin that is in a seperate file. all the tutorial i have seen online always place the mixin into the same file, or don't explain how to import another file. mixins don'...
nullbyte's user avatar
0 votes
1 answer
1k views

I have Vue + TypeScript project, we are using Vue class components. One of component's methods was moved to separate mixin. That mixin uses component's properties. To prevent TypeScript's complaining ...
Eduardo's user avatar
  • 1,331
0 votes
1 answer
1k views

I have a route with dynamic id, for example post/:postId and composable function which contains a lot of methods and functions. when I go from route post/1 to post/2 composable doesn't updated and I ...
Alina Che's user avatar

15 30 50 per page
1
2 3 4 5