All Questions
36 questions
0
votes
0
answers
68
views
How to create a standalone embeddable script from an internal Vue component?
I have a Vue application, and within, I have a component, which I reuse throughout the app. It's located in src/components.
I'd now like to make it so this component can be embedded into other ...
0
votes
1
answer
300
views
Why won't Vue 3 rerender an <img>, even when it rerenders everything else in a component?
I'm working on a Vue project, in which multiple link cards (<a class='card'></a>) are stacked inside a "deck" (<div class='deck'></div>). The setup for these is ...
0
votes
2
answers
569
views
How to re-render after a click Vue
I have a table component that is rendered when a node on my diagram is selected. In my template for the component that is rendering the table I have this:
<div v-if="this.nodeName != ''" ...
0
votes
1
answer
205
views
Vue accessing event listener values between methods
I have the following code below. How can I set the value of "e.detail.name" to "nodeName" and then call it in another method within the same component so I can use the value for an ...
1
vote
1
answer
2k
views
Passing Data between vue components
I have 3 vue components, Component A uses an event listener to gather the data from the HTML text a user clicks on and stores it into a variable. Component B will take the data and make an API call to ...
0
votes
1
answer
39
views
React throwing error on using hooks without class name prefix
When I use hooks without class name prefix it's throwing error.
Please help me fix it
import React, {Fragment,useState} from 'react';
function App (props) {
const [x,updateX] = useState(1) /*
...
1
vote
2
answers
3k
views
How to add style in Vue js 3 on a cdn based app
I'm learning Vue js. I created an app with Vue included from a CDN and I want to know how to add a <style> to it.
I can write template as template: `<div>Vue js 3</div>` but can a &...
1
vote
1
answer
1k
views
don't expand v-list-group if click on v-checkbox
I have an expandable v-list-group with a v-checkbox where when i click on the v-checkbox the list toggles. I want to disable this reaction. it is possible? my code element:
<v-list>
<v-...
5
votes
2
answers
7k
views
This dependency was not found: *swiper/vue how to fix?
I'm scratching my head because I ran npm i swiper and read through the Swiper Vue docs and it says to import { Swiper, SwiperSlide } from 'swiper/vue which I've done and I even get the bundle size ...
1
vote
3
answers
594
views
How to call to sub component’s method in parent component Vue
I want to run the sub component’s method from the parent component in vue to refresh some areas of that component. Here is an example of what I want.
Home.vue
<template>
<componentp><...
0
votes
1
answer
170
views
Astronomy picture of the day Vue application
I am new to vue and I am trying to call the APOD (Astronomy picture of the day) from NASA so that I can display a new picture every day. I am making a new Vue component called Picture.vue where I do ...
0
votes
1
answer
210
views
sorting not working for Date field in Vuejs
I need to apply sorting and pagination logic for two tables in a single component in VueJS using stable methods.
Currently i am able to do sorting and pagination for a single table using below link.
...
0
votes
1
answer
463
views
Vue data not loading for Liquor treeData
The below code works fine with tree view, because treeData has defined manually. But I need to get data from server app through database dynamically. I read few articles and tried to use, but no ...
0
votes
0
answers
59
views
Custom component's style is not rendering by using getElementbyId in the child component in vue js
I have defined component as below:
<template>
<div>
<span style="font-size: 16px">{{label}}</span>
<!-- <label style="font-size: 15px">{{ ...
0
votes
1
answer
200
views
How to make vue js website printer accessible?
I have a website build with vue js and I used a lot of scooped styling for different components.
In many websites separate css files are provides with media="print" to facilitate print version.
How ...