Questions tagged [vuejs2]
Use this tag for questions specific to version 2 of Vue.js, an open-source, progressive JavaScript framework for building user interfaces. Consider also using the main [vue.js] tag in addition to this one.
vuejs2
26,417
questions
0
votes
1
answer
45
views
How to show data in Vue JS without click paging
I have an issue when I want to show data in VueJS. Previously I have successfully displayed "User Online" data, but the problem is why do I have to click on the page if I want to display the ...
0
votes
1
answer
27
views
VUE can not display Chinese
I want to show Chinese in VUE, so I set utf-8 in index.html
However, when I finish coding and enter "npm run dev" to run this web app
there is still messy string on browser
Why does utf-8 ...
0
votes
0
answers
16
views
Use a wrapper component to provide properties and methods down the tree vue2
I have a TranslatableInput component that has a complex logic for rendering different types of input fields. I would like to create a Wrapper component that @Provide some methods/properties which I ...
0
votes
0
answers
15
views
Performance disadvantages of splitting every component into separate chunks in Nuxt?
So I'm working with Nuxt 2.15 (Vue 2.6). Usually if we have a component that is rendered using v-if (so it is not always needed) we import it like this:
components: {
SideCategory: () => ...
0
votes
1
answer
28
views
Problem building Vue solution with @azure/msal-browser package included
I am running into an issue where my 'npm run build' is failing when I include the '@azure/msal-browser' package. It is failing when trying to parse the .mjs files from the package.
The specific error ...
0
votes
1
answer
26
views
Vuetify2 styles not working properly with Django
I'm trying to add vue + vuex + vuetify framework to my django project
I have installed node.js and yarn, then prescribed the commands - yarn global add @vue/cli and vue create client in project root ...
0
votes
1
answer
36
views
Change javascript date with a timezone
I'm using Vue and I have this vue2-date-range-picker
<date-range-picker ref="picker"
:class="[dateHasChanges ? 'daterange-picker-highlighted' : '']&...
0
votes
0
answers
23
views
TinyMCE Toolbar ScrollBar not working properly with Quasar Framework
We have a Vue2, Nuxt2 project based on Quasar Framework. We've added a TinyMCE doc editor to it with a toolbar.
The toolbar is supposed to have a horizontal scroll in case all of the buttons don't fit ...
0
votes
1
answer
48
views
Stuck upgrading vue2 to vue3
// import Vue from "vue"; // vue2
import { createApp } from 'vue' // vue3
import fabComponent from "./components/Fab.vue";
import SvgIcon from "./components/SvgIcon.vue";
...
1
vote
1
answer
52
views
How to set multiple colors for bars in ApexCharts horizontal bar chart (sparkline mode)?
I'm trying to create a horizontal bar chart using ApexCharts in sparkline mode. I want to set different colors for each bar, but I'm unable to achieve this using the colors option.
Here's my code:
...
0
votes
0
answers
10
views
Material design icons
I want to fill a DevExtreme DxSelectBox with icons.
I was wondering if there is a way to use the entire material design icon list as my DxSelectBox datasource (without me copying every icon one by one ...
0
votes
1
answer
38
views
How to pass a function with a parameter to v-select?
How to pass a function with a parameter to v-select?
Tried to do it this way, but nothing works...
I tried doing it through template, but it didn't work either. Maybe I'm doing something wrong.
I need ...
0
votes
0
answers
30
views
Handling Emits with Vue.extend in TypeScript
I'm following the Vue 3 migration guide and trying to declare all the $emit events in the emits array. My component is written in TypeScript, and I'm still using Vue.extend. However, I'm encountering ...
0
votes
1
answer
45
views
vue.js and Element Plus - use el-select with key
I intend to make a drop-down menu that can have three values: The first can be 'Father' or 'Mother' depending on the condition returned by the autoGender(index) method. The second is always 'Father'. ...
0
votes
1
answer
31
views
Adding attribute to HTML elements to whole code
I'm using Nuxt 2 in my project with Storyblok datasources as translations and e.g. I've:
<span v-text="$t('labels.cartSell')" /> and I need to add something like data-translation="...