Skip to main content

All Questions

Tagged with
6 votes
1 answer
6k views

How to force Vue to destroy and re-create the component on route change?

My routes in Vue router: { path: 'articles/create', component: () => import('Detail.vue') }, { path: 'articles/:id/edit', component: () => import('Detail.vue') }, As you can see, I render the ...
mspiderv's user avatar
  • 579
2 votes
1 answer
704 views

Vue - Component won't re-render when updating data with a method

I have a very simple vue components that looks like this: <template> <div class="incrementor"> <p v-text="counter"></p> <button v-on:click="increment()">...
urieow jfkdls's user avatar
1 vote
1 answer
436 views

Vue rerender component on reset button

I have a reset button which reset the state to the initial values. I need to rerender the component with currentTab is there any bet way to do it? <button @click="resetData">reset</button>...
kasia's user avatar
  • 298
0 votes
1 answer
2k views

how i can use vuejs component in laravel blade?

the idea is to use vue component inside file blade but i got this error Failed to mount component: template or render function not defined. this my importation in app.js Vue.component('Notification'...
hazem kaied's user avatar
1 vote
2 answers
4k views

Vue object changes, but doesn't re-render

When I press right arrow key, it changes the object, but not re-render it : <div class="map"> <div class="map-page" tabindex="0" @keyup.arrow-keys="show" ref="mapPage"> <...
Raftko's user avatar
  • 33
0 votes
2 answers
20k views

Display value emitted from Vue component

I created two separated Vue components and I able to emit a message thru a bus. How can I render/display the message in the component that receives the message. Example of the Vue component that ...
Juan Lago's user avatar
  • 1,048
0 votes
1 answer
2k views

Vue doesn't render content in my component's mustache templates ( {{}} )

I'm already banging my head against this problem the whole day. Following problem, that my mustache bracer components don't get rendered on my site. I just get the unrendered components in bracers as ...
drood87's user avatar
  • 39
0 votes
1 answer
320 views

Forcing Vue component to re-render

So this must sound a bit strange, but I made a Vue application that acts as a documentation for our main application built in angular. One of the things I want the documentation to do is display some ...
Justin's user avatar
  • 653