Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
34 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 ...
CentoKili53's user avatar
0 votes
0 answers
23 views

Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it

Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it. Step npm run build vue file use file from /dist in php project Problem ...
Supisara Khongthiang's user avatar
0 votes
1 answer
146 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 ...
James Browning's user avatar
0 votes
0 answers
34 views

Issue in VueJs - isCustomElement

I am having a strange issue in the VueJS project, as when I am adding and trying to use the component from npm. It shows a warning in the browser console and shows nothing in the output. For example, ...
Rober's user avatar
  • 73
1 vote
1 answer
63 views

how to Update a 'this' variable in vuejs and set an API result

I want to update my variable nbeBugs but is not accessible inside then function. My function getApi is async function because the API take time to response template.vue <script> import ...
cyril tueur's user avatar
1 vote
1 answer
860 views

Conditional Rendering with Vue and Prime Vue Library

I have a diagram that is composed of inputs and outputs. Using Primevue I am rendering a table with data for the inputs or outputs. However inputs and outputs should render different columns (not ...
user avatar
0 votes
2 answers
551 views

How to emit data in Vue after api call is finished

I have a windows.addEventListener that triggers an API call. I need to pass a name from the api call to the parent component to display it as a title on a dashboard. How can I emit the data to my ...
user avatar
0 votes
2 answers
385 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 != ''" ...
user avatar
0 votes
1 answer
129 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
530 views

Problems with v-select and data

Good afternoon friends, then I'm going to tell you my mistake. I am working for a users screen, where you have your registration and editing. When you enter the register section you don't have to show ...
Kike gonzalez's user avatar
0 votes
0 answers
40 views

Pass prop in img src in template

In my component, I am trying to pass a dynamic string prop to the image src <template> <div class="flex flex-column col-12 md:col-6 xl:col-4 surface-card p-4 border-round border-bg text-...
JonHerbert's user avatar
0 votes
1 answer
47 views

Unable to get the variable in my dom (vue.js)

<v-app> <h1>This is students Page</h1> <p>{{question}}</p> </v-app> </template> <script> import ChannelDetails from './ChannelDetails' ...
Alok Kumar's user avatar
0 votes
1 answer
38 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) /* ...
Ranajit Chowdhury's user avatar
1 vote
2 answers
2k 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 &...
Ranajit Chowdhury's user avatar

15 30 50 per page
1
2 3 4 5 6